Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2009-12-21 08:55:52 +0100
committerArthur de Jong <arthur@arthurdejong.org>2009-12-21 08:55:52 +0100
commit0494b8c7de3cd41a4ffcdcc649489a8a3ddbf302 (patch)
tree912665cc086ecdacf2ad28e61a0dc322133b5434 /configure.ac
parentef8cc767b201e4798a060282d4a6f280094bb8cc (diff)
include the same headers in configure as in compat/ether.h
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1031 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index be9701b..ef98015 100644
--- a/configure.ac
+++ b/configure.ac
@@ -275,7 +275,10 @@ AC_CHECK_TYPE(struct ether_addr,
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>
- #include <netinet/if_ether.h>])
+ #include <netinet/if_ether.h>
+ #ifdef HAVE_NETINET_ETHER_H
+ #include <netinet/ether.h>
+ #endif])
# check to see if socklen_t is defined
AC_CHECK_TYPE(socklen_t,,