]> git.tue.mpg.de Git - paraslash.git/commitdiff
fd.c: Fix compilation on OS X.
authorAndre Noll <maan@systemlinux.org>
Tue, 16 Mar 2010 12:20:25 +0000 (13:20 +0100)
committerAndre 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

diff --git a/fd.c b/fd.c
index 32d11079267abb8c53db0f2dea5756f77f24d6f5..dc3f80f169a3b9494fe1174492f0040d434b949c 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/uio.h>
 
 #include "para.h"
 #include "error.h"