From 1c4538610b4e69b7a365c9db9421182496eef9bd Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Wed, 2 Jun 2010 11:23:30 +0200
Subject: [PATCH] openldap header inclusions fix

---
 lib/openldap.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/openldap.c b/lib/openldap.c
index daba224edd..05628ab8e8 100644
--- a/lib/openldap.c
+++ b/lib/openldap.c
@@ -35,12 +35,15 @@
  * OpenLDAP library versions, USE_OPENLDAP shall not be defined.
  */
 
+#include <ldap.h>
+
 #include "urldata.h"
 #include <curl/curl.h>
 #include "sendf.h"
-#include <ldap.h>
 #include "sslgen.h"
 #include "transfer.h"
+#include "curl_ldap.h"
+#include "curl_memory.h"
 #include "curl_base64.h"
 
 #define _MPRINTF_REPLACE /* use our functions only */
-- 
GitLab