@@ -4,7 +4,9 @@
#include "orconfig.h"
#include "or.h"
-#ifndef _WIN32
+#ifdef _WIN32
+#include <direct.h>
+#else
#include <dirent.h>
#endif