pkgsrc-ng/databases/nss_ldap/patches/patch-ldap-ethers.c
2016-01-21 23:40:00 +01:00

16 lines
411 B
C

$NetBSD: patch-ldap-ethers.c,v 1.1 2014/06/01 19:38:10 asau Exp $
--- ldap-ethers.c.orig 2009-11-06 10:28:08.000000000 +0000
+++ ldap-ethers.c
@@ -96,6 +96,10 @@ static char *ether_ntoa (const struct et
static ent_context_t *ether_context = NULL;
#endif
+#ifdef __FreeBSD__
+#define ether_addr_octet octet
+#endif
+
static NSS_STATUS
_nss_ldap_parse_ether (LDAPMessage * e,
ldap_state_t * pvt,