summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-25 00:11:14 +0100
committerGünther Deschner <gd@samba.org>2011-03-16 16:56:47 +0100
commit9f9e19512435a11cc066cf86baed3bf4c31eb10d (patch)
tree3af23ff096762689115048d24e92a3d20c65aebf /source3/lib
parent1f6aecb5cf8c8dcd7b767ecb792475bb7b505f7d (diff)
downloadsamba-9f9e19512435a11cc066cf86baed3bf4c31eb10d.tar.gz
samba-9f9e19512435a11cc066cf86baed3bf4c31eb10d.tar.bz2
samba-9f9e19512435a11cc066cf86baed3bf4c31eb10d.zip
s3-packet: only include packet.h where needed.
Guenther
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ctdbd_conn.c1
-rw-r--r--source3/lib/packet.c1
2 files changed, 2 insertions, 0 deletions
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;