From 4d265094c5d28e7192dec077ea56c2a6c199cb4a Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Thu, 21 Jun 2012 12:15:33 +0200 Subject: Include libsoup header explicitly when required Instead of relying on webkit header to include it. --- embed/ephy-embed-prefs.h | 2 ++ embed/ephy-embed-utils.c | 1 + embed/ephy-embed-utils.h | 2 -- embed/ephy-web-view.c | 1 - src/ephy-window.c | 1 + tests/ephy-download-test.c | 1 + tests/ephy-web-view-test.c | 1 + 7 files changed, 6 insertions(+), 3 deletions(-) diff --git a/embed/ephy-embed-prefs.h b/embed/ephy-embed-prefs.h index ee86da04a..0db4ffbc3 100644 --- a/embed/ephy-embed-prefs.h +++ b/embed/ephy-embed-prefs.h @@ -23,6 +23,8 @@ #include "ephy-embed.h" +#include + #if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION) #error "Only can be included directly." #endif diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c index 70c8a6c03..6c669f7c6 100644 --- a/embed/ephy-embed-utils.c +++ b/embed/ephy-embed-utils.c @@ -26,6 +26,7 @@ #include #include +#include #include "ephy-string.h" #include "ephy-embed-utils.h" diff --git a/embed/ephy-embed-utils.h b/embed/ephy-embed-utils.h index 4d8ded161..ded63a5d8 100644 --- a/embed/ephy-embed-utils.h +++ b/embed/ephy-embed-utils.h @@ -31,8 +31,6 @@ #include "ephy-web-view.h" -#include - G_BEGIN_DECLS #define EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED(embed) (WEBKIT_WEB_VIEW (ephy_embed_get_web_view (embed))) diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 2b4af2954..72da3ce8c 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -50,7 +50,6 @@ #include #include #include -#include /** * SECTION:ephy-web-view diff --git a/src/ephy-window.c b/src/ephy-window.c index 3bbdab698..292e958d0 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -64,6 +64,7 @@ #include #include #include +#include #include #ifdef HAVE_X11_XF86KEYSYM_H diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c index dbcd0057d..303410e5b 100644 --- a/tests/ephy-download-test.c +++ b/tests/ephy-download-test.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #define HTML_STRING "testing-ephy-download" diff --git a/tests/ephy-web-view-test.c b/tests/ephy-web-view-test.c index eb0bffd53..bd0f2f0ce 100644 --- a/tests/ephy-web-view-test.c +++ b/tests/ephy-web-view-test.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #define HTML_STRING "testing-ephy-web-view" -- cgit v1.2.3