summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-include_atalk_ldapconfig.h
blob: a24edea689ac7cb5f4aef49de13e26595da44f3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-include_atalk_ldapconfig.h,v 1.1 2013/04/30 15:43:31 hauke Exp $

--- include/atalk/ldapconfig.h.orig	2012-09-10 09:34:52.000000000 +0000
+++ include/atalk/ldapconfig.h
@@ -1,4 +1,5 @@
 #ifdef HAVE_LDAP
+#ifdef HAVE_ACLS
 
 #ifndef LDAPCONFIG_H
 #define LDAPCONFIG_H
@@ -39,5 +40,5 @@ extern struct pref_array prefs_array[];
 extern int ldap_config_valid;
 
 #endif /* LDAPCONFIG_H */
-
+#endif /* HAVE_ACLS */
 #endif /* HAVE_LDAP */