aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_checkdir.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-08-25 11:46:29 -0400
committerNick Mathewson <nickm@torproject.org>2015-08-25 11:46:29 -0400
commitf8a51068235cbc59fcb80efcc7f79b9b2689261d (patch)
tree306574bab762af319fdbce1f2f799caaa1026004 /src/test/test_checkdir.c
parent2afbe0ae28ef215b5f0ac9a032ab4dae1cabc8cc (diff)
downloadtor-f8a51068235cbc59fcb80efcc7f79b9b2689261d.tar.gz
tor-f8a51068235cbc59fcb80efcc7f79b9b2689261d.zip
Make test_checkdir.c dirent include consistent with other files
Diffstat (limited to 'src/test/test_checkdir.c')
-rw-r--r--src/test/test_checkdir.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test_checkdir.c b/src/test/test_checkdir.c
index a44584c0a3..d6ef353c87 100644
--- a/src/test/test_checkdir.c
+++ b/src/test/test_checkdir.c
@@ -4,7 +4,9 @@
#include "orconfig.h"
#include "or.h"
-#ifndef _WIN32
+#ifdef _WIN32
+#include <direct.h>
+#else
#include <dirent.h>
#endif