summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/thumbnail.c1
-rw-r--r--image/bmp.h2
-rw-r--r--image/image_cache.c1
-rw-r--r--image/image_cache.h3
4 files changed, 2 insertions, 5 deletions
diff --git a/gtk/thumbnail.c b/gtk/thumbnail.c
index ef95d0c30..2ee33fba6 100644
--- a/gtk/thumbnail.c
+++ b/gtk/thumbnail.c
@@ -35,7 +35,6 @@
#include "desktop/plotters.h"
#include "desktop/browser.h"
#include "desktop/thumbnail.h"
-#include "image/bitmap.h"
#include "gtk/scaffolding.h"
#include "gtk/plotters.h"
diff --git a/image/bmp.h b/image/bmp.h
index 9c016ecdf..f3b398584 100644
--- a/image/bmp.h
+++ b/image/bmp.h
@@ -26,8 +26,6 @@
#include <libnsbmp.h>
-#include "image/bitmap.h"
-
extern bmp_bitmap_callback_vt bmp_bitmap_callbacks; /** Only to be used by ICO code. */
nserror nsbmp_init(void);
diff --git a/image/image_cache.c b/image/image_cache.c
index ac3679081..cf15bf75d 100644
--- a/image/image_cache.c
+++ b/image/image_cache.c
@@ -27,6 +27,7 @@
#include "desktop/gui_misc.h"
#include "desktop/gui_internal.h"
+#include "image/bitmap.h"
#include "image/image_cache.h"
#include "image/image.h"
diff --git a/image/image_cache.h b/image/image_cache.h
index eb7a04fa3..2f1a5caee 100644
--- a/image/image_cache.h
+++ b/image/image_cache.h
@@ -38,10 +38,9 @@
#define NETSURF_IMAGE_IMAGE_CACHE_H_
#include "utils/errors.h"
-#include "desktop/plotters.h"
-#include "image/bitmap.h"
struct content_redraw_data;
+struct redraw_context;
typedef struct bitmap * (image_cache_convert_fn) (struct content *content);