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/ldap.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/ldap.c')
-rw-r--r-- | lib/ldap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ldap.c b/lib/ldap.c index 9e71185d4..4d9128226 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -72,12 +72,14 @@ #include "strequal.h" #include "strtok.h" #include "curl_ldap.h" -#include "curl_memory.h" #include "curl_multibyte.h" #include "curl_base64.h" #include "rawstr.h" #include "connect.h" #include "curl_printf.h" + +/* The last #include files should be: */ +#include "curl_memory.h" #include "memdebug.h" #ifndef HAVE_LDAP_URL_PARSE |