diff options
author | Günther Deschner <gd@samba.org> | 2011-02-24 23:51:28 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-16 16:56:46 +0100 |
commit | 1f6aecb5cf8c8dcd7b767ecb792475bb7b505f7d (patch) | |
tree | 284bcab00e740252f1551b8b20e857b4d22f1773 /source3 | |
parent | 1ce4d2d83a21b89a2ca8ad5a601b181feafc18e7 (diff) | |
download | samba-1f6aecb5cf8c8dcd7b767ecb792475bb7b505f7d.tar.gz samba-1f6aecb5cf8c8dcd7b767ecb792475bb7b505f7d.tar.bz2 samba-1f6aecb5cf8c8dcd7b767ecb792475bb7b505f7d.zip |
s3-interfaces: only include interfaces.h where needed.
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/includes.h | 1 | ||||
-rw-r--r-- | source3/lib/access.c | 1 | ||||
-rw-r--r-- | source3/lib/interface.c | 1 | ||||
-rw-r--r-- | source3/lib/interfaces.c | 1 | ||||
-rw-r--r-- | source3/lib/util_sock.c | 1 |
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. |