Prechádzať zdrojové kódy

Make test_checkdir.c dirent include consistent with other files

Nick Mathewson 9 rokov pred
rodič
commit
f8a5106823
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  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