mirror of
https://github.com/curl/curl.git
synced 2026-08-26 00:33:34 +03:00
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:
parent
ac2827ac09
commit
35648f2e79
40 changed files with 102 additions and 81 deletions
|
|
@ -34,12 +34,12 @@
|
|||
#include "formdata.h"
|
||||
#include "vtls/vtls.h"
|
||||
#include "strequal.h"
|
||||
#include "curl_memory.h"
|
||||
#include "sendf.h"
|
||||
#include "strdup.h"
|
||||
#include "curl_printf.h"
|
||||
|
||||
/* The last #include file should be: */
|
||||
/* The last #include files should be: */
|
||||
#include "curl_memory.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#ifndef HAVE_BASENAME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue