summaryrefslogtreecommitdiff
path: root/ctdb/libctdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-08-17 14:46:43 +0200
committerMichael Adam <obnox@samba.org>2011-08-17 15:12:46 +0200
commit452f6504a020544ba24cb8a2af57961bb71d447c (patch)
tree193f2e85c1eda9984c25956c7e255b7704aa2eb4 /ctdb/libctdb
parent02ebd35398791a2bd7de42dcac048076fa99afb8 (diff)
downloadsamba-452f6504a020544ba24cb8a2af57961bb71d447c.tar.gz
Add missing #include to libctdb/ctdb.c
We need that to have the "offsetof" macro, thus we don't need to redeclare it in libctdb_private.h Signed-off-by: Michael Adam <obnox@samba.org> (This used to be ctdb commit 4bfdfdae4f8ab23f14bc6ab4c06b66c07714ec17)
Diffstat (limited to 'ctdb/libctdb')
-rw-r--r--ctdb/libctdb/ctdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/libctdb/ctdb.c b/ctdb/libctdb/ctdb.c
index 7115982d1a1..80f8bb52d0e 100644
--- a/ctdb/libctdb/ctdb.c
+++ b/ctdb/libctdb/ctdb.c
@@ -25,6 +25,7 @@
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/ioctl.h>
+#include <stddef.h>
#include "libctdb_private.h"
#include "io_elem.h"
#include "local_tdb.h"