From fae84f98e37e99e41b23739305e7331b3a34ae48 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 26 Mar 2010 17:36:02 +1100 Subject: libutil: moved the networking defines to util_net.h These were causing thousands of warnings on solaris8 --- source4/lib/socket/access.c | 1 + source4/lib/socket/interface.c | 1 + source4/lib/socket/socket_ip.c | 1 + 3 files changed, 3 insertions(+) (limited to 'source4/lib/socket') 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) { -- cgit