diff options
author | Björn Jacke <bj@sernet.de> | 2009-02-11 16:34:02 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-02-11 10:19:12 -0800 |
commit | dc9387ec42b40ace38ba398148f5c20ae13e4a2c (patch) | |
tree | 4d5ba7abd3c689f6d321036c750e737081b6a16f /lib | |
parent | 9e71fef57b956fa62134e5b885fc4ff78a957e71 (diff) | |
download | samba-dc9387ec42b40ace38ba398148f5c20ae13e4a2c.tar.gz |
enable IPv6 support for NetBSD, FreeBSD
most systems include netinet/in.h via netdb.h but *BSD don't.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/replace/libreplace_network.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/libreplace_network.m4 b/lib/replace/libreplace_network.m4 index 30be30f4ab1..78fb1abaf01 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; |