summaryrefslogtreecommitdiff
path: root/lib/replace/system
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-11 08:05:11 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-11 08:08:14 +0100
commit082bea67af9df2390a422a5b2e9d1a042dd95c10 (patch)
tree7c304a251f13fe2a293ef9522ce0da379db58b8a /lib/replace/system
parent3d280639c4652d6cd35577e333bcd46c2517754c (diff)
downloadsamba-082bea67af9df2390a422a5b2e9d1a042dd95c10.tar.gz
samba-082bea67af9df2390a422a5b2e9d1a042dd95c10.tar.bz2
samba-082bea67af9df2390a422a5b2e9d1a042dd95c10.zip
lib/replace: make sure we include <sys/uio.h> before socket_wrapper.h
This should fix the build on some hosts. metze
Diffstat (limited to 'lib/replace/system')
-rw-r--r--lib/replace/system/network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/replace/system/network.h b/lib/replace/system/network.h
index f135d175d4..6add99c0db 100644
--- a/lib/replace/system/network.h
+++ b/lib/replace/system/network.h
@@ -83,6 +83,10 @@
#include <sys/ioctl.h>
#endif
+#ifdef HAVE_SYS_UIO_H
+#include <sys/uio.h>
+#endif
+
#ifdef HAVE_STROPTS_H
#include <stropts.h>
#endif