diff options
author | Günther Deschner <gd@samba.org> | 2011-02-25 00:11:14 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-16 16:56:47 +0100 |
commit | 9f9e19512435a11cc066cf86baed3bf4c31eb10d (patch) | |
tree | 3af23ff096762689115048d24e92a3d20c65aebf /source3 | |
parent | 1f6aecb5cf8c8dcd7b767ecb792475bb7b505f7d (diff) | |
download | samba-9f9e19512435a11cc066cf86baed3bf4c31eb10d.tar.gz samba-9f9e19512435a11cc066cf86baed3bf4c31eb10d.tar.bz2 samba-9f9e19512435a11cc066cf86baed3bf4c31eb10d.zip |
s3-packet: only include packet.h where needed.
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/includes.h | 1 | ||||
-rw-r--r-- | source3/lib/ctdbd_conn.c | 1 | ||||
-rw-r--r-- | source3/lib/packet.c | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 34e4211300..c508266fc4 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -565,7 +565,6 @@ extern void *cmdline_lp_ctx; #include "client.h" #include "module.h" -#include "packet.h" #include "../lib/util/talloc_stack.h" #include "../lib/util/smb_threads.h" #include "../lib/util/smb_threads_internal.h" diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index cfe241e644..16e8cb915e 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -25,6 +25,7 @@ #include "librpc/gen_ndr/messaging.h" #include "librpc/gen_ndr/ndr_messaging.h" #include "ctdbd_conn.h" +#include "packet.h" /* paths to these include files come from --with-ctdb= in configure */ #include "ctdb.h" diff --git a/source3/lib/packet.c b/source3/lib/packet.c index cce23db551..26ca1dad69 100644 --- a/source3/lib/packet.c +++ b/source3/lib/packet.c @@ -20,6 +20,7 @@ #include "includes.h" #include "../lib/util/select.h" #include "system/select.h" +#include "packet.h" struct packet_context { int fd; |