1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

ctdb-includes: Reorder includes.h more logically

For now replace.h needs to be before tdb.h, since tdb.h needs
stdbool.h.  This is fixed upstream but not yet in various packaged
versions.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Oct 31 03:46:40 CET 2014 on sn-devel-104
This commit is contained in:
Martin Schwenke 2014-10-08 19:59:10 +11:00 committed by Amitay Isaacs
parent 94f248d1cc
commit d558281205

View File

@ -1,23 +1,24 @@
#ifndef _CTDB_INCLUDES_H
#define _CTDB_INCLUDES_H
/* Replace must be before broken tdb.h to define bool */
#include "replace.h"
#include "talloc.h"
#include "system/wait.h"
#include "system/network.h"
#include "tdb.h"
#include "ctdb_client.h"
#include <talloc.h>
#include <tdb.h>
/* Allow use of deprecated function tevent_loop_allow_nesting() */
#define TEVENT_DEPRECATED
/* Saves ctdb from massive churn. */
#define TEVENT_COMPAT_DEFINES 1
#include "tevent.h"
#include "ctdb_logging.h"
#include <tevent.h>
#include "lib/util/debug.h"
#include "lib/util/samba_util.h"
#include "ctdb_client.h"
#include "ctdb_logging.h"
#endif /* _CTDB_INCLUDES_H */