aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/axtls.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/vtls/axtls.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/vtls/axtls.c')
-rw-r--r--lib/vtls/axtls.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/vtls/axtls.c b/lib/vtls/axtls.c
index 930136a23..08db9c568 100644
--- a/lib/vtls/axtls.c
+++ b/lib/vtls/axtls.c
@@ -40,11 +40,12 @@
#include "connect.h" /* for the connect timeout */
#include "select.h"
#include "curl_printf.h"
-#include "curl_memory.h"
+#include "hostcheck.h"
#include <unistd.h>
-/* The last #include file should be: */
+
+/* The last #include files should be: */
+#include "curl_memory.h"
#include "memdebug.h"
-#include "hostcheck.h"
/* Global axTLS init, called from Curl_ssl_init() */