git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb008c0
)
Add missing #include to libctdb/ctdb.c
author
Volker Lendecke
<vl@samba.org>
Wed, 17 Aug 2011 12:46:43 +0000
(14:46 +0200)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/libctdb/ctdb.c
b/libctdb/ctdb.c
index 7115982d1a119651a2d270b06426e80c635a29dd..80f8bb52d0e28f8477ef0a7c6c2ee48d093228b8 100644
(file)
--- a/
libctdb/ctdb.c
+++ b/
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"