Bug 624754 – gdbusaddress.c missing sys/wait.h
authorDavid Hoyt <dhoyt@llnl.gov>
Mon, 19 Jul 2010 17:52:17 +0000 (13:52 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Mon, 19 Jul 2010 17:53:17 +0000 (13:53 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=624754

Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbusaddress.c

index afc8ec6..39fc3bb 100644 (file)
@@ -24,7 +24,9 @@
 
 #include <stdlib.h>
 #include <string.h>
+#ifdef G_OS_UNIX
 #include <sys/wait.h>
+#endif
 #include <stdio.h>
 #include <errno.h>