summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTimur <timur@FreeBSD.org>2009-03-17 22:46:53 +0100
committerMichael Adam <obnox@samba.org>2009-03-17 23:09:00 +0100
commita3d04991ef409591a7c8b9fbb01e024bd5aaa041 (patch)
treeab18cc8711ce5d3f99a3b33bca6f671c7314f75c /lib
parente8aa7169a6672bd32af6c5580f6e8ec7e99511bc (diff)
downloadsamba-a3d04991ef409591a7c8b9fbb01e024bd5aaa041.tar.gz
samba-a3d04991ef409591a7c8b9fbb01e024bd5aaa041.tar.bz2
samba-a3d04991ef409591a7c8b9fbb01e024bd5aaa041.zip
build: fix detection of netinet/ip.h on FreeBSD
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/libreplace_network.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/libreplace_network.m4 b/lib/replace/libreplace_network.m4
index a87320f841..3bac72d136 100644
--- 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