diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2015-03-24 23:12:03 +0100 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2015-03-24 23:47:01 +0100 |
commit | 35648f2e799cf861b1acc9175e465e6fa5951775 (patch) | |
tree | eb815d6a83cd8de966121944f3aa1da7a3d40dbe /lib/openldap.c | |
parent | ac2827ac09b1ef2ba2ffca0d8046bc0ad143a5d4 (diff) | |
download | curl-35648f2e799cf861b1acc9175e465e6fa5951775.tar.gz |
curl_memory: make curl_memory.h the second-last header file loaded
This header file must be included after all header files except
memdebug.h, as it does similar memory function redefinitions and can be
similarly affected by conflicting definitions in system or dependent
library headers.
Diffstat (limited to 'lib/openldap.c')
-rw-r--r-- | lib/openldap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/openldap.c b/lib/openldap.c index 40ad25560..bee552f33 100644 --- a/lib/openldap.c +++ b/lib/openldap.c @@ -44,10 +44,12 @@ #include "vtls/vtls.h" #include "transfer.h" #include "curl_ldap.h" -#include "curl_memory.h" #include "curl_base64.h" #include "connect.h" #include "curl_printf.h" + +/* The last #include files should be: */ +#include "curl_memory.h" #include "memdebug.h" #ifndef _LDAP_PVT_H |