goo/gdir.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit cbaee79177ff09d91bdc3dd3d2497ecac80f969f
Author: Albert Astals Cid <[email protected]>
Date:   Mon Jan 17 16:37:02 2022 +0100

    Fix including gdir.h in Windows

diff --git a/goo/gdir.h b/goo/gdir.h
index 74a1d00e..76068791 100644
--- a/goo/gdir.h
+++ b/goo/gdir.h
@@ -41,7 +41,9 @@
 
 class GooString;
 
-#ifndef _WIN32
+#if defined(_WIN32)
+#    include <windows.h>
+#else
 #    include <dirent.h>
 #endif
 

Reply via email to