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/cookie.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/cookie.c')
-rw-r--r-- | lib/cookie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cookie.c b/lib/cookie.c index ddf6f72b1..f1450e905 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -91,14 +91,14 @@ Example set of cookies: #include "strtok.h" #include "sendf.h" #include "slist.h" -#include "curl_memory.h" #include "share.h" #include "strtoofft.h" #include "rawstr.h" #include "curl_memrchr.h" #include "inet_pton.h" -/* The last #include file should be: */ +/* The last #include files should be: */ +#include "curl_memory.h" #include "memdebug.h" static void freecookie(struct Cookie *co) |