From 50883cfeb4eed3d538f71443060745f8747044c9 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 28 Apr 2011 17:38:09 +0200 Subject: s3-tevent: only include ../lib/util/tevent wrappers where needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104 --- source3/lib/addrchange.c | 1 + source3/lib/fncall.c | 1 + source3/lib/tldap.c | 1 + source3/lib/util_sock.c | 2 ++ source3/lib/util_tsock.c | 1 + 5 files changed, 6 insertions(+) (limited to 'source3/lib') diff --git a/source3/lib/addrchange.c b/source3/lib/addrchange.c index bd4bfbaa46..a5d2041953 100644 --- a/source3/lib/addrchange.c +++ b/source3/lib/addrchange.c @@ -18,6 +18,7 @@ #include "includes.h" #include "lib/addrchange.h" +#include "../lib/util/tevent_ntstatus.h" #if HAVE_LINUX_RTNETLINK_H diff --git a/source3/lib/fncall.c b/source3/lib/fncall.c index 91377e0148..4a013e9ee6 100644 --- a/source3/lib/fncall.c +++ b/source3/lib/fncall.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "../lib/util/tevent_unix.h" #if WITH_PTHREADPOOL diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index b5be3a8e24..ba27028649 100644 --- a/source3/lib/tldap.c +++ b/source3/lib/tldap.c @@ -21,6 +21,7 @@ #include "tldap.h" #include "../lib/util/asn1.h" #include "../lib/tsocket/tsocket.h" +#include "../lib/util/tevent_unix.h" static int tldap_simple_recv(struct tevent_req *req); diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index eb74b75960..daf91fef03 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -25,6 +25,8 @@ #include "../lib/async_req/async_sock.h" #include "../lib/util/select.h" #include "interfaces.h" +#include "../lib/util/tevent_unix.h" +#include "../lib/util/tevent_ntstatus.h" /**************************************************************************** Get a port number in host byte order from a sockaddr_storage. diff --git a/source3/lib/util_tsock.c b/source3/lib/util_tsock.c index dce2092868..35a97f5e69 100644 --- a/source3/lib/util_tsock.c +++ b/source3/lib/util_tsock.c @@ -19,6 +19,7 @@ #include "includes.h" #include "../lib/tsocket/tsocket.h" +#include "../lib/util/tevent_unix.h" struct tstream_read_packet_state { struct tevent_context *ev; -- cgit