git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8b3c16
)
enable IPv6 support for NetBSD, FreeBSD
author
Björn Jacke
<bj@sernet.de>
Wed, 11 Feb 2009 15:34:02 +0000
(16:34 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 16 Feb 2009 08:57:02 +0000
(09:57 +0100)
most systems include netinet/in.h via netdb.h but *BSD don't.
(cherry picked from commit
5b551d6e3ef2c69a5fd050abcecb4c6b0ab36402
)
source/lib/replace/libreplace_network.m4
patch
|
blob
|
history
diff --git
a/source/lib/replace/libreplace_network.m4
b/source/lib/replace/libreplace_network.m4
index 5d1645993eb12c268fe9d1ac505467337d2fd116..9b921a064fa96f057a821f6e3429c7fdba032f25 100644
(file)
--- a/
source/lib/replace/libreplace_network.m4
+++ b/
source/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;