Skip to content

Commit

Permalink
osdep.h: pull in sys/sysmacros.h for major/minor/makedev
Browse files Browse the repository at this point in the history
Linux C libs are moving away from implicit header pollution with
sys/types.h

Signed-off-by: Mike Frysinger <[email protected]>
  • Loading branch information
vapier committed Aug 28, 2016
1 parent 68aa6ad commit 94d3427
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/qemu/osdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ extern int daemon(int, int);
#include <setjmp.h>
#include <signal.h>

#ifdef __linux__
#include <sys/sysmacros.h>
#endif

#ifdef __OpenBSD__
#include <sys/signal.h>
#endif
Expand Down

0 comments on commit 94d3427

Please sign in to comment.