$NetBSD: patch-configure,v 1.1 2013/09/13 09:41:32 jperkin Exp $

Include net/if.h for netinet/if_ether.h

--- configure.orig	2013-09-13 09:27:50.539358670 +0000
+++ configure
@@ -4625,7 +4625,11 @@ fi
 
 fi
 if test "$WITH_INTERFACE"; then
-  ac_fn_c_check_header_mongrel "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "$ac_includes_default"
+  ac_fn_c_check_header_mongrel "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "$ac_includes_default
+	#if HAVE_NET_IF_H
+	#include <net/if.h>
+	#endif
+"
 if test "x$ac_cv_header_netinet_if_ether_h" = x""yes; then :
   $as_echo "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
 
