summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2010-10-14 19:03:25 +0000
committerArthur de Jong <arthur@arthurdejong.org>2010-10-14 19:03:25 +0000
commit38cd36d3815eb6c72edc69b6c13c757983530aed (patch)
tree2def678fb71c88b0fa2cb242bb58e78b065a0091
parent9c37b7e296742993a6038000decb0264d23b6341 (diff)
also include sys/types.h for ethernet-related tests (same as in compat/ether.h) (r1259 from -solaris branch)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1273 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 3c5ec47..5e8abb1 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>
@@ -311,6 +312,7 @@ AC_CHECK_TYPES(struct ether_addr,,,[
# check for ether_aton and ether_ntoa functions
AC_CHECK_FUNCS(ether_aton ether_ntoa ether_aton_r ether_ntoa_r)
AC_CHECK_DECLS([ether_aton,ether_ntoa],,,[
+ #include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>