Преглед на файлове

Make test_checkdir.c dirent include consistent with other files

Nick Mathewson преди 10 години
родител
ревизия
f8a5106823
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  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