From 1c3211c50fa189249968d6d69eade889c9fd2069 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 19 Apr 2015 17:05:21 +0100 Subject: remove unrequired includes from riscos thumbnail header --- riscos/thumbnail.h | 15 ++++++++++----- riscos/window.c | 1 + 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'riscos') diff --git a/riscos/thumbnail.h b/riscos/thumbnail.h index bea587668..4cd88bb35 100644 --- a/riscos/thumbnail.h +++ b/riscos/thumbnail.h @@ -17,11 +17,16 @@ * along with this program. If not, see . */ -/** \file - * Page thumbnail creation (interface). +/** + * \file + * Page thumbnail creation interface. */ -#include "oslib/osspriteop.h" -#include "image/bitmap.h" +#ifndef _NETSURF_RISCOS_THUMBNAIL_H_ +#define _NETSURF_RISCOS_THUMBNAIL_H_ -osspriteop_area *thumbnail_convert_8bpp(struct bitmap *bitmap); +struct osspriteop_area; + +struct osspriteop_area *thumbnail_convert_8bpp(struct bitmap *bitmap); + +#endif diff --git a/riscos/window.c b/riscos/window.c index 4f281b919..d15dd3cad 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -63,6 +63,7 @@ #include "desktop/thumbnail.h" #include "desktop/tree.h" #include "desktop/gui_window.h" +#include "image/bitmap.h" #include "render/form.h" #include "riscos/bitmap.h" -- cgit v1.2.3