unittests: do not include curl_memory.h
authorMarc Hoersken <info@marc-hoersken.de>
Fri, 3 Jan 2014 11:30:23 +0000 (12:30 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Fri, 3 Jan 2014 11:30:23 +0000 (12:30 +0100)
memdebug.h already contains all required definitions and including
curl_memory.h causes errors like the following:

tests/unit/unit1394.c:119: undefined reference to `Curl_cfree'
tests/unit/unit1394.c:120: undefined reference to `Curl_cfree'

tests/unit/unit1305.c
tests/unit/unit1394.c

index 5900c6d..91e3b0b 100644 (file)
@@ -37,7 +37,6 @@
 #include "hash.h"
 #include "hostip.h"
 
-#include "curl_memory.h"
 #include "memdebug.h" /* LAST include file */
 
 static struct SessionHandle *data;
index d25e4f5..a3ef8fa 100644 (file)
@@ -27,7 +27,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include "curl_memory.h"
 #include "memdebug.h" /* LAST include file */
 
 static CURLcode unit_setup(void)