From d28b70d1521a924e1c8e8267e61b6b948fbfd4e8 Mon Sep 17 00:00:00 2001 From: Marc Hoersken <info@marc-hoersken.de> Date: Fri, 3 Jan 2014 12:30:23 +0100 Subject: [PATCH] unittests: do not include curl_memory.h 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 | 1 - tests/unit/unit1394.c | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/unit/unit1305.c b/tests/unit/unit1305.c index 5900c6dd54..91e3b0b27f 100644 --- a/tests/unit/unit1305.c +++ b/tests/unit/unit1305.c @@ -37,7 +37,6 @@ #include "hash.h" #include "hostip.h" -#include "curl_memory.h" #include "memdebug.h" /* LAST include file */ static struct SessionHandle *data; diff --git a/tests/unit/unit1394.c b/tests/unit/unit1394.c index d25e4f57aa..a3ef8faeb1 100644 --- a/tests/unit/unit1394.c +++ b/tests/unit/unit1394.c @@ -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)