git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c81340
)
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
include/ctdb.h
patch
|
blob
|
history
diff --git
a/include/ctdb.h
b/include/ctdb.h
index d5aa69f3aad4a0586c5e5d01effc0ade9b954424..2ec477f608f591b31a6a37412ad1b9b512e45345 100644
(file)
--- a/
include/ctdb.h
+++ b/
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;