From: Volker Lendecke Date: Fri, 8 Apr 2016 14:14:33 +0000 (+0200) Subject: ctdbd_conn: Avoid "includes.h" X-Git-Tag: talloc-2.1.7~136 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f0525d4e07a5d741746f539a508668abeb14f0d5;p=thirdparty%2Fsamba.git ctdbd_conn: Avoid "includes.h" Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/include/ctdbd_conn.h b/source3/include/ctdbd_conn.h index bcaa0947603..bf371e6af41 100644 --- a/source3/include/ctdbd_conn.h +++ b/source3/include/ctdbd_conn.h @@ -20,7 +20,11 @@ #ifndef _CTDBD_CONN_H #define _CTDBD_CONN_H +#include "replace.h" +#include "system/filesys.h" +#include "system/network.h" #include +#include struct ctdbd_connection; struct messaging_context; diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 1f0d61cd943..80b65f34e62 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -18,7 +18,7 @@ along with this program. If not, see . */ -#include "includes.h" +#include "replace.h" #include "util_tdb.h" #include "serverid.h" #include "ctdbd_conn.h" @@ -26,6 +26,10 @@ #include "lib/util/sys_rw_data.h" #include "lib/util/iov_buf.h" #include "lib/util/select.h" +#include "lib/util/debug.h" +#include "lib/util/talloc_stack.h" +#include "lib/util/genrand.h" +#include "lib/util/fault.h" #include "messages.h" @@ -1053,7 +1057,7 @@ int ctdbd_traverse(struct ctdbd_connection *conn, uint32_t db_id, return ret; } - while (True) { + while (true) { struct ctdb_req_header *hdr = NULL; struct ctdb_req_message_old *m; struct ctdb_rec_data_old *d;