summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2009-12-21 07:56:29 +0000
committerArthur de Jong <arthur@arthurdejong.org>2009-12-21 07:56:29 +0000
commit78ab5c5f87fb4c3dbd014f86f2f340cac7b76109 (patch)
tree136b10277ca4f0fa4e1de832ca3c4cce922647a7
parent0494b8c7de3cd41a4ffcdcc649489a8a3ddbf302 (diff)
also use compat/ether.h for nss functions
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1032 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r--nss/prototypes.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/nss/prototypes.h b/nss/prototypes.h
index 1a2216d..9ccdbbd 100644
--- a/nss/prototypes.h
+++ b/nss/prototypes.h
@@ -25,10 +25,6 @@
#include <nss.h>
#include <aliases.h>
-#ifdef HAVE_NETINET_ETHER_H
-#include <netinet/ether.h>
-#endif /* HAVE_NETINET_ETHER_H */
-#include <net/ethernet.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <grp.h>
@@ -38,6 +34,8 @@
#include <shadow.h>
#endif /* HAVE_SHADOW_H */
+#include "compat/ether.h"
+
/* We define struct etherent here because it does not seem to
be defined in any publicly available header file exposed
by glibc. This is taken from include/netinet/ether.h