summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3cc6836)
raw | patch | inline | side by side (parent: 3cc6836)
author | Sebastian Harl <sh@teamix.net> | |
Thu, 2 Aug 2012 10:16:38 +0000 (12:16 +0200) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Thu, 2 Aug 2012 11:55:51 +0000 (13:55 +0200) |
This is required on Solaris in order to get the ip6_ext struct.
configure.in | patch | blob | history | |
src/utils_dns.c | patch | blob | history |
diff --git a/configure.in b/configure.in
index bb26716d7cc5d4f97362d906229ea09477a7f992..84a3040892fe6ef1950761109b07a2f8d4c2994c 100644 (file)
--- a/configure.in
+++ b/configure.in
#endif
])
+AC_CHECK_HEADERS(netinet/ip_compat.h)
+
# For the multimeter plugin
have_termios_h="no"
AC_CHECK_HEADERS(termios.h, [have_termios_h="yes"])
diff --git a/src/utils_dns.c b/src/utils_dns.c
index cfa4a5cbefff989c28e4a46accb89e00f1a93f59..cfd0ccfc75be7fc202ea93defbbf9b9cae19158a 100644 (file)
--- a/src/utils_dns.c
+++ b/src/utils_dns.c
#if HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
+#if HAVE_NETINET_IP6_H
+# include <netinet/ip6.h>
+#endif
+#if HAVE_NETINET_IP_COMPAT_H
+# include <netinet/ip_compat.h>
+#endif
#if HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif