projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cf2dd5e
)
fd.c: Fix compilation on OS X.
author
Andre Noll
<maan@systemlinux.org>
Tue, 16 Mar 2010 12:20:25 +0000
(13:20 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Tue, 16 Mar 2010 12:20:25 +0000
(13:20 +0100)
readv() needs sys/uio.h on OS X.
fd.c
patch
|
blob
|
history
diff --git
a/fd.c
b/fd.c
index
32d1107
..
dc3f80f
100644
(file)
--- a/
fd.c
+++ b/
fd.c
@@
-12,6
+12,7
@@
#include <sys/mman.h>
#include <fcntl.h>
#include <sys/select.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <sys/select.h>
+#include <sys/uio.h>
#include "para.h"
#include "error.h"
#include "para.h"
#include "error.h"