--- src/precompiled.hpp_orig    2019-11-21 04:34:13 +0000
+++ src/precompiled.hpp 2019-11-21 04:34:46 +0000
@@ -42,6 +42,10 @@

 #include "platform.hpp"

+extern "C" {
+extern char *mkdtemp(char *);
+}
+
 #define __STDC_LIMIT_MACROS

 // This must be included before any windows headers are compiled.

--- tests/testutil_unity.cpp.orig	2020-10-27 05:32:34 +0000
+++ tests/testutil_unity.cpp	2020-10-27 05:33:11 +0000
@@ -31,6 +31,9 @@
 #include <stdlib.h>
 #include <string.h>
 
+extern "C" {
+extern char *mkdtemp(char *);
+}
 #ifdef _WIN32
 #include <direct.h>
 #else
