From 35648f2e799cf861b1acc9175e465e6fa5951775 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 24 Mar 2015 23:12:03 +0100 Subject: 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. --- lib/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/file.c') diff --git a/lib/file.c b/lib/file.c index 14e765f5e..324d4e290 100644 --- a/lib/file.c +++ b/lib/file.c @@ -59,12 +59,12 @@ #include "getinfo.h" #include "transfer.h" #include "url.h" -#include "curl_memory.h" #include "parsedate.h" /* for the week day and month names */ #include "warnless.h" #include "curl_printf.h" -/* The last #include file should be: */ +/* The last #include files should be: */ +#include "curl_memory.h" #include "memdebug.h" #if defined(WIN32) || defined(MSDOS) || defined(__EMX__) || \ -- cgit v1.2.3