summaryrefslogtreecommitdiff
path: root/source/lib/socket_wrapper
diff options
context:
space:
mode:
authorLove Hörnquist Åstrand <lha@samba.org>2006-10-19 04:56:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:28 -0500
commit5052d2d10693e67f1b7c6c71277c8d1bc9c8b612 (patch)
tree070d0491c56a55236b19c7acb6cc7f6703451e62 /source/lib/socket_wrapper
parentd01bdf1f2dcdf77043a5ad162ee336d3c6f2e944 (diff)
downloadsamba-5052d2d10693e67f1b7c6c71277c8d1bc9c8b612.tar.gz
r19409: Pull in <sys/time.h> for struct timeval for non samba build (don't
depend on namespace pollution)
Diffstat (limited to 'source/lib/socket_wrapper')
-rw-r--r--source/lib/socket_wrapper/socket_wrapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/lib/socket_wrapper/socket_wrapper.c b/source/lib/socket_wrapper/socket_wrapper.c
index 36d6801d692..3f2020d2662 100644
--- a/source/lib/socket_wrapper/socket_wrapper.c
+++ b/source/lib/socket_wrapper/socket_wrapper.c
@@ -59,6 +59,7 @@
#else /* _SAMBA_BUILD_ */
#include <sys/types.h>
+#include <sys/time.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/ioctl.h>