summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-26 17:36:02 +1100
committerAndrew Tridgell <tridge@samba.org>2010-03-26 17:36:02 +1100
commitfae84f98e37e99e41b23739305e7331b3a34ae48 (patch)
treeaea198725ee6e85dd81e8b35d7a93e1c86269a1f /source4/lib
parentc81d2ae3c9a4f9b5d2291563f141bb10d64cd650 (diff)
downloadsamba-fae84f98e37e99e41b23739305e7331b3a34ae48.tar.gz
samba-fae84f98e37e99e41b23739305e7331b3a34ae48.tar.bz2
samba-fae84f98e37e99e41b23739305e7331b3a34ae48.zip
libutil: moved the networking defines to util_net.h
These were causing thousands of warnings on solaris8
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/socket/access.c1
-rw-r--r--source4/lib/socket/interface.c1
-rw-r--r--source4/lib/socket/socket_ip.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/socket/access.c b/source4/lib/socket/access.c
index 42c42db365..ab39d63ef5 100644
--- a/source4/lib/socket/access.c
+++ b/source4/lib/socket/access.c
@@ -34,6 +34,7 @@
#include "system/network.h"
#include "lib/socket/socket.h"
#include "system/locale.h"
+#include "lib/util/util_net.h"
#define FAIL (-1)
#define ALLONES ((uint32_t)0xFFFFFFFF)
diff --git a/source4/lib/socket/interface.c b/source4/lib/socket/interface.c
index af81804911..433b212244 100644
--- a/source4/lib/socket/interface.c
+++ b/source4/lib/socket/interface.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "system/network.h"
#include "lib/socket/netif.h"
+#include "../lib/util/util_net.h"
#include "../lib/util/dlinklist.h"
/** used for network interfaces */
diff --git a/source4/lib/socket/socket_ip.c b/source4/lib/socket/socket_ip.c
index 89b310a23a..8ee12d8916 100644
--- a/source4/lib/socket/socket_ip.c
+++ b/source4/lib/socket/socket_ip.c
@@ -25,6 +25,7 @@
#include "system/filesys.h"
#include "lib/socket/socket.h"
#include "system/network.h"
+#include "lib/util/util_net.h"
static NTSTATUS ipv4_init(struct socket_context *sock)
{