ctdb: ctdb_protocol.h references struct sockaddr
authorVolker Lendecke <vl@samba.org>
Wed, 3 Dec 2014 15:02:35 +0000 (16:02 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 6 Dec 2014 23:12:07 +0000 (00:12 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
ctdb/include/ctdb_protocol.h

index 15d9fc5f658798b273fc19a9258afb6d00497959..3cecc12adccc4950fe09f081d11094ac3230c2cb 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef _CTDB_PROTOCOL_H
 #define _CTDB_PROTOCOL_H
 
+#include <sys/socket.h>
+
 /* location of daemon socket, set at configure time */
 #ifdef SOCKPATH
 #define CTDB_SOCKET    SOCKPATH