summaryrefslogtreecommitdiffstats
path: root/source/lib/interfaces.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-01-14 01:41:04 +0000
committerJeremy Allison <jra@samba.org>2000-01-14 01:41:04 +0000
commit38dffd360dc2e44bfc9e751f017e24f81ff0f2fa (patch)
treef29c9edb3d18eb8d569500710127df300f4768b8 /source/lib/interfaces.c
parentf8bebf91abcaa5bda3ec8701f9242f220da8943a (diff)
downloadsamba-38dffd360dc2e44bfc9e751f017e24f81ff0f2fa.tar.gz
samba-38dffd360dc2e44bfc9e751f017e24f81ff0f2fa.tar.xz
samba-38dffd360dc2e44bfc9e751f017e24f81ff0f2fa.zip
Added "inherit permissions" patch.
Fixed locking bug found by Andrew. Jeremy.
Diffstat (limited to 'source/lib/interfaces.c')
-rw-r--r--source/lib/interfaces.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/lib/interfaces.c b/source/lib/interfaces.c
index 29181c394a9..e7b9efa1f0a 100644
--- a/source/lib/interfaces.c
+++ b/source/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