From cd377bb7a85c8199627ba6f377e88efa3291b314 Mon Sep 17 00:00:00 2001 From: Johannes Sasongko Date: Thu, 12 Jul 2012 00:22:13 +0200 Subject: [PATCH] Include config.h before HAVE_GRANITE Fixes: https://bugs.launchpad.net/midori/+bug/980355 --- midori/midori-browser.c | 3 ++- midori/midori-view.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index adf81ca0..369405ef 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -32,11 +32,12 @@ #include #include +#include + #ifdef HAVE_GRANITE #include #endif -#include #ifdef HAVE_UNISTD_H #include #endif diff --git a/midori/midori-view.c b/midori/midori-view.c index 05e646ee..50447cea 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -20,6 +20,8 @@ #include "marshal.h" +#include + #ifdef HAVE_GRANITE #include #endif @@ -32,7 +34,6 @@ #include #include -#include #if HAVE_UNISTD_H #include #endif -- 2.39.5