Check for <sys/wait.h>
authorTor Lillqvist <tml@novell.com>
Thu, 18 Aug 2005 13:08:18 +0000 (13:08 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 18 Aug 2005 13:08:18 +0000 (13:08 +0000)
2005-08-18  Tor Lillqvist  <tml@novell.com>

* configure.in: Check for <sys/wait.h>

* glib/gbacktrace.c: Include <sys/wait.h> on if HAVE_SYS_WAIT_H.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
configure.in
glib/gbacktrace.c

index 41c53b7..04a029c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-08-18  Tor Lillqvist  <tml@novell.com>
+
+       * configure.in: Check for <sys/wait.h>
+
+       * glib/gbacktrace.c: Include <sys/wait.h> on if HAVE_SYS_WAIT_H.
+
 2005-08-18  Ross Burton  <ross@burtonini.com>
 
        * glib/gstring.c:
index 41c53b7..04a029c 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-18  Tor Lillqvist  <tml@novell.com>
+
+       * configure.in: Check for <sys/wait.h>
+
+       * glib/gbacktrace.c: Include <sys/wait.h> on if HAVE_SYS_WAIT_H.
+
 2005-08-18  Ross Burton  <ross@burtonini.com>
 
        * glib/gstring.c:
index 41c53b7..04a029c 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-18  Tor Lillqvist  <tml@novell.com>
+
+       * configure.in: Check for <sys/wait.h>
+
+       * glib/gbacktrace.c: Include <sys/wait.h> on if HAVE_SYS_WAIT_H.
+
 2005-08-18  Ross Burton  <ross@burtonini.com>
 
        * glib/gstring.c:
index 41c53b7..04a029c 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-18  Tor Lillqvist  <tml@novell.com>
+
+       * configure.in: Check for <sys/wait.h>
+
+       * glib/gbacktrace.c: Include <sys/wait.h> on if HAVE_SYS_WAIT_H.
+
 2005-08-18  Ross Burton  <ross@burtonini.com>
 
        * glib/gstring.c:
index 43af69f..b263a1f 100644 (file)
@@ -772,7 +772,7 @@ AC_C_BIGENDIAN
 
 # check for header files
 AC_CHECK_HEADERS([dirent.h float.h limits.h pwd.h sys/param.h sys/poll.h sys/select.h sys/types.h])
-AC_CHECK_HEADERS([sys/time.h sys/times.h unistd.h values.h stdint.h sched.h])
+AC_CHECK_HEADERS([sys/time.h sys/times.h sys/wait.h unistd.h values.h stdint.h sched.h])
 
 # Checks for libcharset
 jm_LANGINFO_CODESET
index a60e319..76bb5aa 100644 (file)
@@ -45,7 +45,9 @@
 #include <sys/times.h>
 #endif
 #include <sys/types.h>
+#ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
+#endif
 
 #include <time.h>
 #ifdef HAVE_UNISTD_H