summaryrefslogtreecommitdiff
path: root/source4/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
commit97ccda014dd3e2c1a8f18cc79e67f2a13244fc4b (patch)
tree5c9f3e260e4e4bb47534ec541cebbc1e337e1762 /source4/lib/socket_wrapper
parent0ec080d505aa5238ca3733454905f5ce9f65d6dc (diff)
downloadsamba-97ccda014dd3e2c1a8f18cc79e67f2a13244fc4b.tar.gz
samba-97ccda014dd3e2c1a8f18cc79e67f2a13244fc4b.tar.bz2
samba-97ccda014dd3e2c1a8f18cc79e67f2a13244fc4b.zip
r19409: Pull in <sys/time.h> for struct timeval for non samba build (don't
depend on namespace pollution) (This used to be commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612)
Diffstat (limited to 'source4/lib/socket_wrapper')
-rw-r--r--source4/lib/socket_wrapper/socket_wrapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/socket_wrapper/socket_wrapper.c b/source4/lib/socket_wrapper/socket_wrapper.c
index 36d6801d69..3f2020d266 100644
--- a/source4/lib/socket_wrapper/socket_wrapper.c
+++ b/source4/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>