[pan: 8/15] fix up glib includes




commit d6cb56b0e84efa8225940e79c7842cefec955659
Author: Thomas Tanner <thosrtanner googlemail com>
Date:   Thu Jun 2 20:35:44 2022 +0100

    fix up glib includes

 pan/gui/gui.cc | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/pan/gui/gui.cc b/pan/gui/gui.cc
index aad9870..df4d8c3 100644
--- a/pan/gui/gui.cc
+++ b/pan/gui/gui.cc
@@ -16,6 +16,10 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  *
  */
+#if defined(G_OS_UNIX) && !defined(G_STDIO_WRAP_ON_UNIX)
+#include <fcntl.h> //Because you need to >.<
+#endif
+#include <glib-2.0/glib/gstdio.h>
 
 #include <config.h>
 #include <map>


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