passfd: Fix compilation error on OpenBSD.
authorBruno Haible <bruno@clisp.org>
Sun, 13 Mar 2011 22:45:25 +0000 (23:45 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 13 Mar 2011 22:45:25 +0000 (23:45 +0100)
* lib/passfd.c: Include <sys/uio.h>.

ChangeLog
lib/passfd.c

index 440d503..b68fa29 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-03-13  Bruno Haible  <bruno@clisp.org>
 
+       passfd: Fix compilation error on OpenBSD.
+       * lib/passfd.c: Include <sys/uio.h>.
+
+2011-03-13  Bruno Haible  <bruno@clisp.org>
+
        passfd test: Fix warnings.
        * tests/test-passfd.c: Include <sys/wait.h>.
        (main): Fix typo.
index d694ba6..573b80e 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
+#include <sys/uio.h>
 #include <unistd.h>
 
 #include <sys/socket.h>