Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/ether.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2008-02-04 23:38:08 +0100
committerArthur de Jong <arthur@arthurdejong.org>2008-02-04 23:38:08 +0100
commitf99ddd549114edf6176309ccf22c2d5b6a3ae29d (patch)
treebd396f02cfc94b3c2664cec57d49713d6e6ed911 /nslcd/ether.c
parent72c25e69e9ef8382423f4aad20d90d7ac0d673ae (diff)
provide replacements for ether_aton_r() and ether_ntoa_r() for platforms that don't have them
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@624 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/ether.c')
-rw-r--r--nslcd/ether.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/nslcd/ether.c b/nslcd/ether.c
index e6d739c..3cfbc9e 100644
--- a/nslcd/ether.c
+++ b/nslcd/ether.c
@@ -28,9 +28,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_NETINET_ETHER_H
-#include <netinet/ether.h>
-#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif /* HAVE_STDINT_H */
@@ -40,6 +37,7 @@
#include "myldap.h"
#include "cfg.h"
#include "attmap.h"
+#include "compat/ether.h"
#ifndef HAVE_STRUCT_ETHER_ADDR
struct ether_addr {