summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-06-07 22:26:27 +1000
committerAndrew Tridgell <tridge@samba.org>2007-06-07 22:26:27 +1000
commit06a71762a41f8602ccfdf21e6a6bbe884c9d1a4f (patch)
treecae39eff38c63a2d456fe540f5742be93f9566f3 /ctdb
parentb50096c8355e3e5890d3535ab955afe27d036cfb (diff)
downloadsamba-06a71762a41f8602ccfdf21e6a6bbe884c9d1a4f.tar.gz
samba-06a71762a41f8602ccfdf21e6a6bbe884c9d1a4f.tar.xz
samba-06a71762a41f8602ccfdf21e6a6bbe884c9d1a4f.zip
some #include cleanups
(This used to be ctdb commit 1a07d87122d51a40cd8ad5fe13533298c26857cb)
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/client/ctdb_client.c4
-rw-r--r--ctdb/include/includes.h1
-rw-r--r--ctdb/server/ctdb_call.c1
-rw-r--r--ctdb/takeover/ctdb_takeover.c1
-rw-r--r--ctdb/tools/ctdb.c2
5 files changed, 5 insertions, 4 deletions
diff --git a/ctdb/client/ctdb_client.c b/ctdb/client/ctdb_client.c
index b2435f6542..8fe348125f 100644
--- a/ctdb/client/ctdb_client.c
+++ b/ctdb/client/ctdb_client.c
@@ -22,12 +22,12 @@
#include "includes.h"
#include "db_wrap.h"
#include "lib/tdb/include/tdb.h"
-#include "lib/events/events.h"
#include "lib/util/dlinklist.h"
+#include "lib/events/events.h"
#include "system/network.h"
#include "system/filesys.h"
-#include "../include/ctdb.h"
#include "../include/ctdb_private.h"
+#include "lib/util/dlinklist.h"
/*
allocate a packet for use in client<->daemon communication
diff --git a/ctdb/include/includes.h b/ctdb/include/includes.h
index 14133afb17..a345fa2e81 100644
--- a/ctdb/include/includes.h
+++ b/ctdb/include/includes.h
@@ -5,7 +5,6 @@
#include "tdb.h"
#include "idtree.h"
#include "ctdb.h"
-#include "lib/util/dlinklist.h"
#include "lib/util/debug.h"
typedef bool BOOL;
diff --git a/ctdb/server/ctdb_call.c b/ctdb/server/ctdb_call.c
index 537d6ef3f8..89a8ccc1bc 100644
--- a/ctdb/server/ctdb_call.c
+++ b/ctdb/server/ctdb_call.c
@@ -24,6 +24,7 @@
#include "includes.h"
#include "lib/events/events.h"
#include "lib/tdb/include/tdb.h"
+#include "lib/util/dlinklist.h"
#include "system/network.h"
#include "system/filesys.h"
#include "../include/ctdb_private.h"
diff --git a/ctdb/takeover/ctdb_takeover.c b/ctdb/takeover/ctdb_takeover.c
index c18203ff58..819e499f00 100644
--- a/ctdb/takeover/ctdb_takeover.c
+++ b/ctdb/takeover/ctdb_takeover.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "lib/events/events.h"
#include "lib/tdb/include/tdb.h"
+#include "lib/util/dlinklist.h"
#include "system/network.h"
#include "system/filesys.h"
#include "system/wait.h"
diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c
index 537d657ce6..6ec3aee2a8 100644
--- a/ctdb/tools/ctdb.c
+++ b/ctdb/tools/ctdb.c
@@ -21,11 +21,11 @@
#include "includes.h"
#include "lib/events/events.h"
#include "system/filesys.h"
+#include "system/network.h"
#include "popt.h"
#include "cmdline.h"
#include "../include/ctdb.h"
#include "../include/ctdb_private.h"
-#include <arpa/inet.h>
static void usage(void);