libctdb: Correct 4bfdfda, stddef.h is needed by libctdb_private.h
authorVolker Lendecke <vl@samba.org>
Thu, 18 Aug 2011 11:54:36 +0000 (13:54 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 22 Aug 2011 15:11:06 +0000 (17:11 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit 683caa7bbf45d5b6791e53e2f3ee6d0ac3b08f28)

ctdb/libctdb/ctdb.c
ctdb/libctdb/libctdb_private.h

index 80f8bb52d0e28f8477ef0a7c6c2ee48d093228b8..7115982d1a119651a2d270b06426e80c635a29dd 100644 (file)
@@ -25,7 +25,6 @@
 #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"
index 24bd9828a5c0a43cf31635d19434e486bd6d4020..26fdaf0e25466c620ebf47f4bf3f1fd6849fd3c2 100644 (file)
@@ -8,6 +8,7 @@
 #include <ctdb_protocol.h>
 #include <syslog.h>
 #include <tdb.h>
+#include <stddef.h>
 
 #ifndef offsetof
 #define offsetof(t,f) ((unsigned int)&((t *)0)->f)