iphlpapi: Implement getICMPStats on FreeBSD.
diff --git a/configure.ac b/configure.ac
index 482c6dd..eb04796 100644
--- a/configure.ac
+++ b/configure.ac
@@ -231,6 +231,7 @@
 	CoreAudio/CoreAudio.h \
 	DiskArbitration/DiskArbitration.h \
 	IOKit/IOKitLib.h \
+	alias.h \
 	alsa/asoundlib.h \
 	arpa/inet.h \
 	arpa/nameser.h \
@@ -274,6 +275,7 @@
 	netdb.h \
 	netinet/in.h \
 	netinet/in_systm.h \
+	netinet/ip_icmp.h \
 	netinet/tcp.h \
 	netinet/tcp_fsm.h \
 	netinet/udp.h \
@@ -360,8 +362,11 @@
      # include <netinet/in.h>
      #endif])
 
-AC_CHECK_HEADERS([netinet/tcp_var.h netinet/udp_var.h],,,
+AC_CHECK_HEADERS([netinet/tcp_var.h netinet/udp_var.h netinet/icmp_var.h],,,
     [#include <sys/types.h>
+     #ifdef HAVE_ALIAS_H
+     # include <alias.h>
+     #endif
      #ifdef HAVE_SYS_SOCKET_H
      # include <sys/socket.h>
      #endif
@@ -374,6 +379,9 @@
      #ifdef HAVE_NETINET_IP_VAR_H
      # include <netinet/ip_var.h>
      #endif
+     #ifdef HAVE_NETINET_IP_ICMP_H
+     # include <netinet/ip_icmp.h>
+     #endif
      #ifdef HAVE_NETINET_UDP_H
      # include <netinet/udp.h>
      #endif