From 9f9e19512435a11cc066cf86baed3bf4c31eb10d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 25 Feb 2011 00:11:14 +0100 Subject: s3-packet: only include packet.h where needed. Guenther --- source3/lib/ctdbd_conn.c | 1 + source3/lib/packet.c | 1 + 2 files changed, 2 insertions(+) (limited to 'source3/lib') 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; -- cgit