summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2008-02-04 22:30:47 +0000
committerArthur de Jong <arthur@arthurdejong.org>2008-02-04 22:30:47 +0000
commit0ed6689ba2e5bbdfed9f7829dd03c9607f95001a (patch)
tree0401a42318ee3905eb36e28bfd3fd5d0af76acc4
parent88ea235f2cf3a8c5d380067dd0359cf69ad346a3 (diff)
defined LDAP_SCOPE_DEFAULT it's not defined elsewhere
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@622 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r--nslcd/myldap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nslcd/myldap.h b/nslcd/myldap.h
index 0681531..8d57ce5 100644
--- a/nslcd/myldap.h
+++ b/nslcd/myldap.h
@@ -43,6 +43,10 @@
#include "compat/attrs.h"
+#ifndef LDAP_SCOPE_DEFAULT
+#define LDAP_SCOPE_DEFAULT LDAP_SCOPE_SUBTREE
+#endif /* not LDAP_SCOPE_DEFAULT */
+
/* This a a generic session handle. */
typedef struct ldap_session MYLDAP_SESSION;