$NetBSD$

--- configure.in.orig	2005-01-19 10:23:17.000000000 -0800
+++ configure.in
@@ -39,7 +39,7 @@ fi
 AC_HEADER_STDC
 
 dnl AC_CHECK_FUNCS will place -D's in @DEFS@
-AC_CHECK_HEADERS(arpa/inet.h fenv.h netinet/in.h string.h strings.h time.h unistd.h net/ethernet.h)
+AC_CHECK_HEADERS(arpa/inet.h fenv.h netinet/in.h string.h strings.h time.h unistd.h net/if.h net/ethernet.h netinet/if_ether.h sys/socket.h)
 dnl check for libm is needed for subseq checks
 AC_CHECK_LIB(m, main, , AC_MSG_ERROR(Could not find math library, cannot continue.))
 AC_CHECK_FUNCS(bcopy bzero fesetprecision feenableexcept getrusage sbrk snprintf)
