]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Ensure pid_t gets defined.
authorBruno Haible <bruno@clisp.org>
Wed, 5 Sep 2001 12:03:25 +0000 (12:03 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 5 Sep 2001 12:03:25 +0000 (12:03 +0000)
lib/ChangeLog
lib/pipe-bidi.c
lib/pipe-in.c
lib/pipe-out.c
lib/pipe.h

index 6edd5daf4b557e5643818ebe74091ead0333839e..56a9552f1611a585e17da26692ecdb4e2f632085 100644 (file)
@@ -1,3 +1,10 @@
+2001-09-02  Bruno Haible  <haible@clisp.cons.org>
+
+       * pipe.h: Ensure pid_t gets declared.
+       * pipe-bidi.c: Include pipe.h.
+       * pipe-in.c: Likewise.
+       * pipe-out.c: Likewise.
+
 2001-08-26  Bruno Haible  <haible@clisp.cons.org>
 
        * printf-parse.h: Remove file.
index 794b67e5c4be669f687c2fc5e3469f302cc7c612..244a84a1dd75784efcd720931804c89a9888e981 100644 (file)
@@ -21,6 +21,8 @@
 # include "config.h"
 #endif
 
+#include "pipe.h"
+
 #include <errno.h>
 #include <stdlib.h>
 
index ba63f3da2fddeeb26f12c65b22f383ceb09b5986..fe63544e29e3d6ba67f33685b32fddafa788c335 100644 (file)
@@ -21,6 +21,8 @@
 # include "config.h"
 #endif
 
+#include "pipe.h"
+
 #include <errno.h>
 #include <fcntl.h>
 #include <stdlib.h>
index 3621dacd2ce56eac4b0139db10dad418a59464e4..77803d6de75592420ae66772e248f40f054921b5 100644 (file)
@@ -21,6 +21,8 @@
 # include "config.h"
 #endif
 
+#include "pipe.h"
+
 #include <errno.h>
 #include <fcntl.h>
 #include <stdlib.h>
index cb45cfb591ab965e8404455ed33ddeb5199e2049..6ee5f1600142e397252918e1bb0b5a69c8e64c5e 100644 (file)
 #ifndef _PIPE_H
 #define _PIPE_H
 
+/* Get pid_t.  */
+#include <stdlib.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#include <sys/types.h>
+
 /* Open a pipe for output to a child process.
  * The child's stdout goes to a file.
  *