From 155eae8fcf424ef62ec28a1556a7ec38c337e934 Mon Sep 17 00:00:00 2001
From: Martin Stjernholm <mast@lysator.liu.se>
Date: Sun, 14 Nov 1999 03:55:23 +0100
Subject: [PATCH] Changed the include order to work around a silly bug in glibc
 2.1 where the macros MAX and MIN gets redefined.

Rev: src/post_modules/GTK/pgtk.c.head:1.3
---
 src/post_modules/GTK/pgtk.c.head | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/post_modules/GTK/pgtk.c.head b/src/post_modules/GTK/pgtk.c.head
index 43f9543935..c8c11cc431 100644
--- a/src/post_modules/GTK/pgtk.c.head
+++ b/src/post_modules/GTK/pgtk.c.head
@@ -3,8 +3,6 @@
 #define GTK_NO_CHECK_CASTS
 
 #include "config.h"
-#include <gtk/gtk.h>
-#include <gdk/gdkx.h>
 #include <program.h>
 #include <pike_types.h>
 #include <interpret.h>
@@ -18,6 +16,8 @@
 #include <threads.h>
 #include <builtin_functions.h>
 #include <operators.h>
+#include <gtk/gtk.h>
+#include <gdk/gdkx.h>
 #include "prototypes.h"
 #ifdef HAVE_SIGNAL_H
 #include <signal.h>
-- 
GitLab