git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8aa716
)
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>
Tue, 17 Mar 2009 22:09:00 +0000
(23:09 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
lib/replace/libreplace_network.m4
patch
|
blob
|
history
diff --git
a/lib/replace/libreplace_network.m4
b/lib/replace/libreplace_network.m4
index a87320f841e29952b937ce98bb1f845c20c3a803..3bac72d136a3be4f6c96db7874e746c1794d8997 100644
(file)
--- a/
lib/replace/libreplace_network.m4
+++ b/
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