diff options
Diffstat (limited to 'src/test/test_checkdir.c')
-rw-r--r-- | src/test/test_checkdir.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/test_checkdir.c b/src/test/test_checkdir.c index ae859449cb..d6ef353c87 100644 --- a/src/test/test_checkdir.c +++ b/src/test/test_checkdir.c @@ -3,7 +3,13 @@ #include "orconfig.h" #include "or.h" + +#ifdef _WIN32 +#include <direct.h> +#else #include <dirent.h> +#endif + #include "config.h" #include "test.h" #include "util.h" |