summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-02-11 16:34:02 +0100
committerJeremy Allison <jra@samba.org>2009-02-11 10:19:12 -0800
commitdc9387ec42b40ace38ba398148f5c20ae13e4a2c (patch)
tree4d5ba7abd3c689f6d321036c750e737081b6a16f /lib/replace
parent9e71fef57b956fa62134e5b885fc4ff78a957e71 (diff)
downloadsamba-dc9387ec42b40ace38ba398148f5c20ae13e4a2c.tar.gz
samba-dc9387ec42b40ace38ba398148f5c20ae13e4a2c.tar.bz2
samba-dc9387ec42b40ace38ba398148f5c20ae13e4a2c.zip
enable IPv6 support for NetBSD, FreeBSD
most systems include netinet/in.h via netdb.h but *BSD don't.
Diffstat (limited to 'lib/replace')
-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 30be30f4ab..78fb1abaf0 100644
--- a/lib/replace/libreplace_network.m4
+++ b/lib/replace/libreplace_network.m4
@@ -353,6 +353,7 @@ AC_CACHE_CHECK([for ipv6 support],libreplace_cv_HAVE_IPV6,[
#include <sys/socket.h>
#include <sys/types.h>
#include <netdb.h>
+#include <netinet/in.h>
],
[
struct sockaddr_storage sa_store;