From bb7c1d73b99b1832cad53e9d248ed9c7d3a81380 Mon Sep 17 00:00:00 2001 From: Brian Carrier <carrier@sleuthkit.org> Date: Thu, 19 Jul 2012 10:14:31 -0400 Subject: [PATCH] Resolves #79. Changed to cstring --- unit_tests/base/errors_test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/unit_tests/base/errors_test.cpp b/unit_tests/base/errors_test.cpp index b2be07fb1..b672e2bef 100644 --- a/unit_tests/base/errors_test.cpp +++ b/unit_tests/base/errors_test.cpp @@ -7,7 +7,8 @@ #include <libtsk.h> #include <tsk_config.h> -#include <string> +#include <cstring> + #ifdef HAVE_PTHREAD #ifdef __APPLE__ #include <mach/semaphore.h> @@ -20,6 +21,7 @@ extern "C" mach_port_t mach_task_self(void); #define SEM_TYPE sem_t #endif #endif + #include "errors_test.h" // Registers the fixture into the 'registry' -- GitLab