Browse Source

Make test_checkdir.c dirent include consistent with other files

Nick Mathewson 8 years ago
parent
commit
f8a5106823
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/test/test_checkdir.c

+ 3 - 1
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