Include config.h before HAVE_GRANITE

Fixes: https://bugs.launchpad.net/midori/+bug/980355
This commit is contained in:
Johannes Sasongko 2012-07-12 00:22:13 +02:00 committed by Christian Dywan
parent 93ef102c23
commit cd377bb7a8
2 changed files with 4 additions and 2 deletions

View file

@ -32,11 +32,12 @@
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include <string.h> #include <string.h>
#include <config.h>
#ifdef HAVE_GRANITE #ifdef HAVE_GRANITE
#include <granite.h> #include <granite.h>
#endif #endif
#include <config.h>
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif

View file

@ -20,6 +20,8 @@
#include "marshal.h" #include "marshal.h"
#include <config.h>
#ifdef HAVE_GRANITE #ifdef HAVE_GRANITE
#include <granite.h> #include <granite.h>
#endif #endif
@ -32,7 +34,6 @@
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include <webkit/webkit.h> #include <webkit/webkit.h>
#include <config.h>
#if HAVE_UNISTD_H #if HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif