]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make test_checkdir.c dirent include consistent with other files
authorNick Mathewson <nickm@torproject.org>
Tue, 25 Aug 2015 15:46:29 +0000 (11:46 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 25 Aug 2015 15:46:29 +0000 (11:46 -0400)
src/test/test_checkdir.c

index a44584c0a38228c0364db887564306f3e49529e3..d6ef353c875f1c840ef5a64f434bb1a9f72b9c86 100644 (file)
@@ -4,7 +4,9 @@
 #include "orconfig.h"
 #include "or.h"
 
-#ifndef _WIN32
+#ifdef _WIN32
+#include <direct.h>
+#else
 #include <dirent.h>
 #endif