[evince] Windows: open() andal. need io.h



commit db68e851f3baaba1c80ca127d075b78779f59ee8
Author: Vincent Torri <vincent torri gmail com>
Date:   Sun Dec 6 11:52:00 2020 +0100

    Windows: open() andal. need io.h

 backend/pdf/ev-poppler.cc | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index 3984a586..50a87342 100644
--- a/backend/pdf/ev-poppler.cc
+++ b/backend/pdf/ev-poppler.cc
@@ -24,6 +24,9 @@
 
 #include <math.h>
 #include <string.h>
+#ifdef _WIN32
+#include <io.h>
+#endif
 #include <gtk/gtk.h>
 #include <poppler.h>
 #include <poppler-document.h>


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