summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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