remove include <netinet/in.h> from public ctdb.h
authorMichael Adam <obnox@samba.org>
Thu, 29 Jan 2009 12:22:02 +0000 (13:22 +0100)
committerMichael 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

index d5aa69f3aad4a0586c5e5d01effc0ade9b954424..2ec477f608f591b31a6a37412ad1b9b512e45345 100644 (file)
@@ -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;