openldap header inclusions fix
authorYang Tse <yangsita@gmail.com>
Wed, 2 Jun 2010 09:23:30 +0000 (11:23 +0200)
committerYang Tse <yangsita@gmail.com>
Wed, 2 Jun 2010 09:23:30 +0000 (11:23 +0200)
lib/openldap.c

index daba224..05628ab 100644 (file)
  * 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 */