summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/lib/access.c1
-rw-r--r--source3/lib/interface.c1
-rw-r--r--source3/lib/interfaces.c1
-rw-r--r--source3/lib/util_sock.c1
5 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 83ccf7860b..34e4211300 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -543,7 +543,6 @@ extern void *cmdline_lp_ctx;
#include "../lib/util/asn1.h"
#include "libads/ads_status.h"
-#include "interfaces.h"
#include "trans2.h"
#include "../libcli/util/error.h"
#include "ntioctl.h"
diff --git a/source3/lib/access.c b/source3/lib/access.c
index b674144150..a7475a5edc 100644
--- a/source3/lib/access.c
+++ b/source3/lib/access.c
@@ -12,6 +12,7 @@
#include "includes.h"
#include "memcache.h"
+#include "interfaces.h"
#define NAME_INDEX 0
#define ADDR_INDEX 1
diff --git a/source3/lib/interface.c b/source3/lib/interface.c
index 79c62a7ae7..30e94069a5 100644
--- a/source3/lib/interface.c
+++ b/source3/lib/interface.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "interfaces.h"
static struct iface_struct *probed_ifaces;
static int total_probed;
diff --git a/source3/lib/interfaces.c b/source3/lib/interfaces.c
index 5996fdee06..e40eaa9142 100644
--- a/source3/lib/interfaces.c
+++ b/source3/lib/interfaces.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "interfaces.h"
/****************************************************************************
Create a struct sockaddr_storage with the netmask bits set to 1.
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 73b69b4440..3c97495099 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -23,6 +23,7 @@
#include "memcache.h"
#include "../lib/async_req/async_sock.h"
#include "../lib/util/select.h"
+#include "interfaces.h"
/****************************************************************************
Get a port number in host byte order from a sockaddr_storage.