summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/lib/ctdbd_conn.c1
-rw-r--r--source3/lib/packet.c1
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;