[poppler] goo/gdir.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jan 17 15:46:54 UTC 2022


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

New commits:
commit cbaee79177ff09d91bdc3dd3d2497ecac80f969f
Author: Albert Astals Cid <aacid at kde.org>
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
 


More information about the poppler mailing list