1 #ifndef _CTDB_INCLUDES_H
2 #define _CTDB_INCLUDES_H
4 #define HAVE_UNIXSOCKET 1
8 #include "system/wait.h"
9 #include "system/network.h"
12 #include "ctdb_client.h"
14 /* Allow use of deprecated function tevent_loop_allow_nesting() */
15 #define TEVENT_DEPRECATED
16 /* Saves ctdb from massive churn. */
17 #define TEVENT_COMPAT_DEFINES 1
21 #include "ctdb_logging.h"
28 #endif /* _NORETURN_ */
34 #define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x))
35 #endif /* ZERO_STRUCT */
38 #define discard_const(ptr) ((void *)((intptr_t)(ptr)))
41 #include "lib/util/debug.h"
42 #include "lib/util/samba_util.h"
44 #endif /* _CTDB_INCLUDES_H */