summaryrefslogtreecommitdiff
path: root/source3/lib/interfaces.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/interfaces.c')
-rw-r--r--source3/lib/interfaces.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/interfaces.c b/source3/lib/interfaces.c
index 29181c394a..e7b9efa1f0 100644
--- a/source3/lib/interfaces.c
+++ b/source3/lib/interfaces.c
@@ -39,6 +39,9 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/ioctl.h>
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#include <net/if.h>
#ifndef SIOCGIFCONF