summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2010-10-11 19:33:37 +0000
committerArthur de Jong <arthur@arthurdejong.org>2010-10-11 19:33:37 +0000
commit7abeeebdce8c63900d689381cf155a7c952a1107 (patch)
treefddd1aced3c9296496aaf78f534d9b6e792a2062
parent002ed77f4772e6d028bd4ef7900c518005bc913e (diff)
make all ethernet tests use the same includes
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1259 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 61cb551..f6dba53 100644
--- a/configure.ac
+++ b/configure.ac
@@ -300,6 +300,7 @@ fi
# check for support for the struct ether_addr structure
AC_CHECK_TYPES(struct ether_addr,,,[
+ #include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>
@@ -534,6 +535,7 @@ then
# check requirements for our replacement functions
AC_CHECK_FUNCS(ether_ntoa ether_aton)
AC_CHECK_DECLS([ether_ntoa,ether_aton],,,[
+ #include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>