chiark / gitweb /
Build fix for Linux
authorRichard Kettlewell <rjk@greenend.org.uk>
Mon, 2 Jun 2008 12:34:21 +0000 (13:34 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Mon, 2 Jun 2008 12:34:21 +0000 (13:34 +0100)
lib/macros-builtin.c
lib/trackdb.c
lib/wstat.c
lib/wstat.h
libtests/test.h
server/disorder-server.h

index 8123f2b930ca06e8d4a4ef5246ca21a5730c3a6c..ec5628da145ff145ab2ba9fd785c5a821ab3f202 100644 (file)
@@ -31,7 +31,6 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/stat.h>
-#include <sys/wait.h>
 
 #include "hash.h"
 #include "mem.h"
index 689af09853ea92e34b8c214cc940d102ffdb66c6..4009358573a01a68e97ab868102b40e93b2b6908 100644 (file)
@@ -35,7 +35,6 @@
 #include <sys/resource.h>
 #include <time.h>
 #include <arpa/inet.h>
-#include <sys/wait.h>
 #include <dirent.h>
 #include <sys/stat.h>
 #include <gcrypt.h>
index 0e33d1f652fed5936c01d009825fa1be1270660d..1b541e92267e9fdf2a1ab892f3fab401a1e02fb4 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "common.h"
 
-#include <sys/wait.h>
 #include <signal.h>
 
 #include "mem.h"
index afae5943c50a642210e55b2af0428eb83aa93a43..944048dd2edc99fb64fad4f9d761b3c04a13dd5c 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef WSTAT_H
 #define WSTAT_H
 
+#include <sys/wait.h>
+
 const char *wstat(int w);
 /* Format wait status @w@.  In extremis the return value might be a
  * pointer to a string literal.  The result should always be ASCII. */
index 8af85d515c5fead40b1d624d28a58adde1ec431a..a4f478e82d5b8b4283c01231388c0421e1318b57 100644 (file)
@@ -30,7 +30,6 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <signal.h>
-#include <sys/wait.h>
 #include <stddef.h>
 #include <sys/socket.h>
 #include <netdb.h>
index d09420c52e5909a6f9d4ecb045b8a7f90bc26a0e..361bd4fd59235011c35290235497d1e44abc2996 100644 (file)
@@ -41,7 +41,6 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/un.h>
-#include <sys/wait.h>
 #include <syslog.h>
 #include <time.h>
 #include <unistd.h>