r19409: Pull in <sys/time.h> for struct timeval for non samba build (don't
authorLove Hörnquist Åstrand <lha@samba.org>
Thu, 19 Oct 2006 04:56:21 +0000 (04:56 +0000)
committerStefan Metzmacher <metze@samba.org>
Tue, 10 Jun 2008 09:36:37 +0000 (11:36 +0200)
depend on namespace pollution)
(cherry picked from commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612)
(This used to be commit d22701b196bded3294776b144a7a990de23741e9)

source3/lib/socket_wrapper/socket_wrapper.c

index beb890d135d9612faa534f60e544f86e40318793..c8259e060e73a1823b63ce505624d18b2e6a6bbc 100644 (file)
@@ -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>