diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2008-02-04 23:38:08 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2008-02-04 23:38:08 +0100 |
commit | f99ddd549114edf6176309ccf22c2d5b6a3ae29d (patch) | |
tree | bd396f02cfc94b3c2664cec57d49713d6e6ed911 /nslcd/ether.c | |
parent | 72c25e69e9ef8382423f4aad20d90d7ac0d673ae (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.c | 4 |
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 { |