summaryrefslogtreecommitdiff
path: root/source3/lib/socket_wrapper
diff options
context:
space:
mode:
authorLove Hörnquist Åstrand <lha@samba.org>2006-10-19 04:56:21 +0000
committerStefan Metzmacher <metze@samba.org>2008-06-10 11:36:37 +0200
commit1410d8e7992112a4c07c6ef8e80b49be492a50c7 (patch)
tree6dbd0383790fa540fc9f609517ee82dd2a3ced37 /source3/lib/socket_wrapper
parent4084b467c502e8e73567f2f78135a3bb0fe38a43 (diff)
downloadsamba-1410d8e7992112a4c07c6ef8e80b49be492a50c7.tar.gz
samba-1410d8e7992112a4c07c6ef8e80b49be492a50c7.tar.bz2
samba-1410d8e7992112a4c07c6ef8e80b49be492a50c7.zip
r19409: Pull in <sys/time.h> for struct timeval for non samba build (don't
depend on namespace pollution) (cherry picked from commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612) (This used to be commit d22701b196bded3294776b144a7a990de23741e9)
Diffstat (limited to 'source3/lib/socket_wrapper')
-rw-r--r--source3/lib/socket_wrapper/socket_wrapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/socket_wrapper/socket_wrapper.c b/source3/lib/socket_wrapper/socket_wrapper.c
index beb890d135..c8259e060e 100644
--- a/source3/lib/socket_wrapper/socket_wrapper.c
+++ b/source3/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>