summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/includes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 148bfc4414..da390c87ea 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -778,7 +778,8 @@ enum flush_reason_enum {
#ifdef HAVE_LDAP
#include "ads_protos.h"
#else
-typedef LDAPMessage void;
+struct _LDAPMessage;
+typedef struct _LDAPMessage *LDAPMessage;
#endif
/* We need this after proto.h to reference GetTimeOfDay(). */