]> diplodocus.org Git - nmh/commitdiff
Moved #include <sys/wait.h> to h/nmh.h.
authorDavid Levine <levinedl@acm.org>
Sun, 31 Mar 2013 21:32:10 +0000 (16:32 -0500)
committerDavid Levine <levinedl@acm.org>
Sun, 31 Mar 2013 21:32:10 +0000 (16:32 -0500)
h/nmh.h
sbr/pidwait.c
uip/mhfixmsg.c
uip/mhlsbr.c
uip/mhshowsbr.c

diff --git a/h/nmh.h b/h/nmh.h
index 00fd943..4f5f5e4 100644 (file)
--- a/h/nmh.h
+++ b/h/nmh.h
@@ -16,6 +16,7 @@
 #endif
 #include <assert.h>
 #include <sys/stat.h>
+#include <sys/wait.h>
 
 # include <dirent.h>
 #define NLENGTH(dirent) strlen((dirent)->d_name)
index 5ea87c5..f454161 100644 (file)
@@ -11,7 +11,6 @@
 #include <h/signals.h>
 #include <errno.h>
 #include <signal.h>
-#include <sys/wait.h>
 
 int
 pidwait (pid_t id, int sigsok)
index 10a8e1b..9e672b4 100644 (file)
@@ -12,8 +12,6 @@
 #include <h/utils.h>
 #include <h/signals.h>
 #include <signal.h>
-#include <sys/stat.h>
-#include <sys/wait.h>
 #include <fcntl.h>
 #ifdef HAVE_ICONV
 #   include <iconv.h>
index a0cd129..69e3f1f 100644 (file)
@@ -16,7 +16,6 @@
 #include <setjmp.h>
 #include <signal.h>
 #include <errno.h>
-#include <sys/wait.h>
 #include <sys/types.h>
 
 /*
index db804cb..3d2d8eb 100644 (file)
@@ -19,7 +19,6 @@
 #include <h/mime.h>
 #include <h/mhparse.h>
 #include <h/utils.h>
-#include <sys/wait.h>
 
 extern int debugsw;