Add missing #include to libctdb/ctdb.c
authorVolker Lendecke <vl@samba.org>
Wed, 17 Aug 2011 12:46:43 +0000 (14:46 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 17 Aug 2011 13:12:46 +0000 (15:12 +0200)
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>
libctdb/ctdb.c

index 7115982d1a119651a2d270b06426e80c635a29dd..80f8bb52d0e28f8477ef0a7c6c2ee48d093228b8 100644 (file)
@@ -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"