git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c6e125
)
build: fix detection of netinet/ip.h on FreeBSD
author
Timur
<timur@FreeBSD.org>
Tue, 17 Mar 2009 21:46:53 +0000
(22:46 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 19 Mar 2009 17:04:02 +0000
(18:04 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit
a3d04991ef409591a7c8b9fbb01e024bd5aaa041
)
source/lib/replace/libreplace_network.m4
patch
|
blob
|
history
diff --git
a/source/lib/replace/libreplace_network.m4
b/source/lib/replace/libreplace_network.m4
index 2032dfd3fffc4cb919c5ba87d83e89528c11720d..a520c735671eef7717dab82fb2bbe92a8edf9840 100644
(file)
--- a/
source/lib/replace/libreplace_network.m4
+++ b/
source/lib/replace/libreplace_network.m4
@@
-9,6
+9,7
@@
LIBREPLACE_NETWORK_LIBS=""
AC_CHECK_HEADERS(sys/socket.h netinet/in.h netdb.h arpa/inet.h)
AC_CHECK_HEADERS(netinet/in_systm.h)
AC_CHECK_HEADERS([netinet/ip.h], [], [],[
+ #include <sys/types.h>
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif