[gimp] app: fix #include order in gimp-spawn.c



commit b590b5954202fa379284a13914d1c08b0b8b221e
Author: Ell <ell_se yahoo com>
Date:   Sat Mar 10 02:18:39 2018 -0500

    app: fix #include order in gimp-spawn.c
    
    ... so that GLib is included before the platform-specific headers,
    so that we can check for G_OS_WIN32.
    
    Spotted by Partha, as usual :)

 app/core/gimp-spawn.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimp-spawn.c b/app/core/gimp-spawn.c
index b86a2a2..94a824b 100644
--- a/app/core/gimp-spawn.c
+++ b/app/core/gimp-spawn.c
@@ -20,6 +20,8 @@
 
 #include "config.h"
 
+#include <glib-object.h>
+
 #ifdef HAVE_VFORK
 #include <sys/types.h>
 #include <sys/wait.h>
@@ -36,8 +38,6 @@
 #include <io.h>
 #endif
 
-#include <glib-object.h>
-
 #include "core-types.h"
 
 #include "gimp-spawn.h"


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