projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
342de0e
)
passfd: Fix compilation error on OpenBSD.
author
Bruno Haible
<bruno@clisp.org>
Sun, 13 Mar 2011 22:45:25 +0000
(23:45 +0100)
committer
Bruno Haible
<bruno@clisp.org>
Sun, 13 Mar 2011 22:45:25 +0000
(23:45 +0100)
* lib/passfd.c: Include <sys/uio.h>.
ChangeLog
patch
|
blob
|
history
lib/passfd.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
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.
diff --git
a/lib/passfd.c
b/lib/passfd.c
index
d694ba6
..
573b80e
100644
(file)
--- a/
lib/passfd.c
+++ b/
lib/passfd.c
@@
-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>