[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Make test_checkdir.c dirent include consistent with other files



commit f8a51068235cbc59fcb80efcc7f79b9b2689261d
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits