summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/ads.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index 343f505f8b..6c441f870f 100644
--- a/source3/include/ads.h
+++ b/source3/include/ads.h
@@ -85,6 +85,12 @@ typedef struct {
int minor_status;
} ADS_STATUS;
+#ifdef HAVE_ADS
+typedef LDAPMod **ADS_MODLIST;
+#else
+typedef void **ADS_MODLIST;
+#endif
+
/* macros to simplify error returning */
#define ADS_ERROR(rc) ads_build_error(ADS_ERROR_LDAP, rc, 0)
#define ADS_ERROR_SYSTEM(rc) ads_build_error(ADS_ERROR_SYSTEM, rc, 0)