--- tests/testutil.cpp.orig	2020-10-28 03:00:18 +0000
+++ tests/testutil.cpp	2020-10-28 03:02:48 +0000
@@ -32,6 +32,12 @@
 #include <stdarg.h>
 #include <string.h>
 
+
+extern "C"{
+extern char *mkdtemp(char *);
+}
+
+
 #if defined _WIN32
 #include "../src/windows.hpp"
 #if defined _MSC_VER
