aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_shared_random.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-09 12:54:40 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-09 12:54:40 -0400
commit19f2057d4999b4dfe8b06feafb92063e803d02c2 (patch)
tree093e5bf4921c026483fb8eacef7778210842ebe3 /src/test/test_shared_random.c
parenteb856a3e51e14690ede533dd84bef48ae818eefe (diff)
downloadtor-19f2057d4999b4dfe8b06feafb92063e803d02c2.tar.gz
tor-19f2057d4999b4dfe8b06feafb92063e803d02c2.zip
Fix some lingering windows compilation issues from Jenkins.
These were caused by the recent refactoring.
Diffstat (limited to 'src/test/test_shared_random.c')
-rw-r--r--src/test/test_shared_random.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c
index ccf051606f..b0a9da0033 100644
--- a/src/test/test_shared_random.c
+++ b/src/test/test_shared_random.c
@@ -30,6 +30,11 @@
#include <sys/stat.h>
#endif
+#ifdef _WIN32
+/* For mkdir */
+#include <direct.h>
+#endif
+
static authority_cert_t *mock_cert;
static authority_cert_t *