[tor-commits] [tor/master] Make test_checkdir.c dirent include consistent with other files
nickm at torproject.org
nickm at torproject.org
Tue Aug 25 15:53:32 UTC 2015
commit f8a51068235cbc59fcb80efcc7f79b9b2689261d
Author: Nick Mathewson <nickm at torproject.org>
Date: Tue Aug 25 11:46:29 2015 -0400
Make test_checkdir.c dirent include consistent with other files
---
src/test/test_checkdir.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/test/test_checkdir.c b/src/test/test_checkdir.c
index a44584c..d6ef353 100644
--- a/src/test/test_checkdir.c
+++ b/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
More information about the tor-commits
mailing list