summaryrefslogtreecommitdiff
path: root/sysutils/nut22/files/patch-m4-nut_check_ipv6.m4
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/nut22/files/patch-m4-nut_check_ipv6.m4')
-rw-r--r--sysutils/nut22/files/patch-m4-nut_check_ipv6.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/nut22/files/patch-m4-nut_check_ipv6.m4 b/sysutils/nut22/files/patch-m4-nut_check_ipv6.m4
new file mode 100644
index 000000000000..fa12e98b55d3
--- /dev/null
+++ b/sysutils/nut22/files/patch-m4-nut_check_ipv6.m4
@@ -0,0 +1,13 @@
+--- m4/nut_check_ipv6.m4.orig 2007-03-15 21:19:05.000000000 +0100
++++ m4/nut_check_ipv6.m4 2007-10-15 11:42:02.000000000 +0200
+@@ -22,7 +22,9 @@
+ struct in6_addr],
+ [:],
+ [nut_have_ipv6=no],
+- [#include <netdb.h>])
++ [#include <netdb.h>
++ #include <sys/socket.h>
++ #include <netinet/in.h>])
+
+ dnl AC_CHECK_MEMBERS([struct in6_addr.s6_addr32],
+ dnl [:],