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.
This commit is contained in:
Dan Fandrich
2015-03-24 23:12:03 +01:00
parent ac2827ac09
commit 35648f2e79
40 changed files with 102 additions and 81 deletions

View File

@@ -39,7 +39,6 @@
#include "curl_hmac.h"
#include "curl_sasl.h"
#include "warnless.h"
#include "curl_memory.h"
#include "strtok.h"
#include "strequal.h"
#include "rawstr.h"
@@ -47,7 +46,8 @@
#include "non-ascii.h" /* included for Curl_convert_... prototypes */
#include "curl_printf.h"
/* The last #include file should be: */
/* The last #include files should be: */
#include "curl_memory.h"
#include "memdebug.h"
/* Supported mechanisms */