Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 04d3bf6f373c152dde037b5841407de4 > files > 6

apache-mod_authz_ldap-0.26-10mdv2009.0.src.rpm


--- mod_authz_ldap-0.26/module/mod_authz_ldap.h.apr1x	2005-12-05 14:12:49.000000000 +0000
+++ mod_authz_ldap-0.26/module/mod_authz_ldap.h	2005-12-05 14:18:47.000000000 +0000
@@ -15,11 +15,11 @@
 #include "http_request.h"
 #include "ap_config.h"
 #include "ap_compat.h"
-#ifdef AP_SERVER_MAJORVERSION
-#include "apr_compat.h"
-#endif /* AP_SERVER_MAJORVERSION */
 #include "http_log.h"
 #include "../authz.h"
+
+#define LDAP_DEPRECATED 1
+
 #ifdef HAVE_LBER_H
 #include <lber.h>
 #endif
@@ -52,6 +52,12 @@
 #define ldap_memfree	free
 #endif
 
+#define ap_pstrdup apr_pstrdup
+#define ap_table_set apr_table_set
+#define ap_table_get apr_table_get
+#define ap_snprintf apr_snprintf
+#define ap_palloc apr_palloc
+
 module	MODULE_VAR_EXPORT	authz_ldap_module;
 
 #define	AUTHZ_AUTH	0