]> git.gsnw.org Git - fping.git/commitdiff
Fix FreeBSD ipv6 build
authorGerman-Service-Network <30377384+gsnw@users.noreply.github.com>
Fri, 31 Aug 2018 18:32:30 +0000 (20:32 +0200)
committerGitHub <noreply@github.com>
Fri, 31 Aug 2018 18:32:30 +0000 (20:32 +0200)
Source: https://svnweb.freebsd.org/ports/head/net/fping/files/patch-configure.ac?revision=473606&view=markup
Fix build fping with ipv6 support on FreeBSD

configure.ac

index 8a0585ac7b963a2021913556ac9ec8f7da3cea2e..d2b1ecc15170e82efe0dc61356b5cf91bf79081b 100644 (file)
@@ -18,6 +18,7 @@ AS_IF([test "x$enable_ipv6" != "xno"], [
     dnl Test if IPv6 is supported
        AC_CHECK_HEADERS([netinet/icmp6.h], [have_ipv6="yes"], [], [[
       #include <netinet/in.h>
+      #include <sys/types.h>
   ]])
 ])
 dnl Can't disable both IPv4 and IPv6