summaryrefslogtreecommitdiff
path: root/databases/nss_ldap/patches/patch-ldap-ethers.c
blob: 55d1836cc477f0f1566d1ca9efbdaa9d1e7da64e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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,