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/libcli/resolve/resolve.c | 1 + source4/libcli/resolve/testsuite.c | 1 + 2 files changed, 2 insertions(+) (limited to 'source4/libcli/resolve') diff --git a/source4/libcli/resolve/resolve.c b/source4/libcli/resolve/resolve.c index 77f7f4f46b..9359b8f582 100644 --- a/source4/libcli/resolve/resolve.c +++ b/source4/libcli/resolve/resolve.c @@ -28,6 +28,7 @@ #include "lib/socket/socket.h" #include "../lib/util/dlinklist.h" #include "lib/tsocket/tsocket.h" +#include "lib/util/util_net.h" struct resolve_state { struct resolve_context *ctx; diff --git a/source4/libcli/resolve/testsuite.c b/source4/libcli/resolve/testsuite.c index fdbb430a9f..86e133b524 100644 --- a/source4/libcli/resolve/testsuite.c +++ b/source4/libcli/resolve/testsuite.c @@ -24,6 +24,7 @@ #include "libcli/resolve/resolve.h" #include "torture/torture.h" #include "system/network.h" +#include "lib/util/util_net.h" static bool test_async_resolve(struct torture_context *tctx) { -- cgit