From: Timur Date: Tue, 17 Mar 2009 21:46:53 +0000 (+0100) Subject: build: fix detection of netinet/ip.h on FreeBSD X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ddcf94787f59cf682c51010b87d3624bbdd6b4a3;p=thirdparty%2Fsamba.git build: fix detection of netinet/ip.h on FreeBSD Signed-off-by: Michael Adam (cherry picked from commit a3d04991ef409591a7c8b9fbb01e024bd5aaa041) --- diff --git a/source/lib/replace/libreplace_network.m4 b/source/lib/replace/libreplace_network.m4 index 2032dfd3fff..a520c735671 100644 --- 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 #ifdef HAVE_NETINET_IN_H #include #endif