diff --git a/unit_tests/base/errors_test.cpp b/unit_tests/base/errors_test.cpp index b2be07fb1cda2981fda9301a02d99fe12ef4441b..b672e2befa6dc23742539cbceab8c5ff1d664df5 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'