--- tests/test_use_fd.cpp.orig	2020-03-04 04:09:29 +0000
+++ tests/test_use_fd.cpp	2020-03-04 04:09:54 +0000
@@ -42,6 +42,10 @@
 #include <netdb.h>
 #include <unistd.h>
 
+extern "C"{
+extern char *mkdtemp(char *);
+}
+
 int setup_socket_and_set_fd (void *zmq_socket_,
                              int af_,
                              int protocol_,
