git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd55c66
)
remove include <netinet/in.h> from public ctdb.h
author
Michael Adam
<obnox@samba.org>
Thu, 29 Jan 2009 12:22:02 +0000
(13:22 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 29 Jan 2009 12:22:02 +0000
(13:22 +0100)
This is not portable.
The ctdb build includes the necessary headers from includes.h.
And users of ctdb should cope with including the necessary
prerequisite headers themselves.
Michael
(This used to be ctdb commit
fedc6983f5dee39152e6f400f89a3e07eab57f0c
)
ctdb/include/ctdb.h
patch
|
blob
|
history
diff --git
a/ctdb/include/ctdb.h
b/ctdb/include/ctdb.h
index d5aa69f3aad4a0586c5e5d01effc0ade9b954424..2ec477f608f591b31a6a37412ad1b9b512e45345 100644
(file)
--- a/
ctdb/include/ctdb.h
+++ b/
ctdb/include/ctdb.h
@@
-20,8
+20,6
@@
#ifndef _CTDB_H
#define _CTDB_H
-#include <netinet/in.h>
-
#define CTDB_IMMEDIATE_MIGRATION 0x00000001
struct ctdb_call {
int call_id;