qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] osdep.h: pull in sys/sysmacros.h for major/minor/makedev
@ 2017-02-10  6:12 Mike Frysinger
  2017-02-10  6:15 ` no-reply
  2017-02-10  9:04 ` Peter Maydell
  0 siblings, 2 replies; 7+ messages in thread
From: Mike Frysinger @ 2017-02-10  6:12 UTC (permalink / raw)
  To: qemu-devel

Linux C libs are moving away from implicit header pollution with
sys/types.h

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 include/qemu/osdep.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 56c9e22405ec..6aaace6cf37f 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -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
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-03-13 18:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-10  6:12 [Qemu-devel] [PATCH] osdep.h: pull in sys/sysmacros.h for major/minor/makedev Mike Frysinger
2017-02-10  6:15 ` no-reply
2017-02-10  9:04 ` Peter Maydell
2017-02-15  3:02   ` Mike Frysinger
2017-02-15 12:50     ` Peter Maydell
2017-03-13 18:31       ` Eric Blake
2017-03-13 18:41         ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).