aboutsummaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2015-03-24 23:12:03 +0100
committerDan Fandrich <dan@coneharvesters.com>2015-03-24 23:47:01 +0100
commit35648f2e799cf861b1acc9175e465e6fa5951775 (patch)
treeeb815d6a83cd8de966121944f3aa1da7a3d40dbe /lib/easy.c
parentac2827ac09b1ef2ba2ffca0d8046bc0ad143a5d4 (diff)
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/easy.c')
-rw-r--r--lib/easy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/easy.c b/lib/easy.c
index f094fc099..316acb1d1 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -60,7 +60,6 @@
#include "hostip.h"
#include "share.h"
#include "strdup.h"
-#include "curl_memory.h"
#include "progress.h"
#include "easyif.h"
#include "select.h"
@@ -77,7 +76,8 @@
#include "ssh.h"
#include "curl_printf.h"
-/* The last #include file should be: */
+/* The last #include files should be: */
+#include "curl_memory.h"
#include "memdebug.h"
/* win32_cleanup() is for win32 socket cleanup functionality, the opposite