aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_checkdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_checkdir.c')
-rw-r--r--src/test/test_checkdir.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_checkdir.c b/src/test/test_checkdir.c
index ae859449cb..a44584c0a3 100644
--- a/src/test/test_checkdir.c
+++ b/src/test/test_checkdir.c
@@ -3,7 +3,11 @@
#include "orconfig.h"
#include "or.h"
+
+#ifndef _WIN32
#include <dirent.h>
+#endif
+
#include "config.h"
#include "test.h"
#include "util.h"