summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-19 17:05:21 +0100
committerVincent Sanders <vince@kyllikki.org>2015-04-19 17:05:21 +0100
commit1c3211c50fa189249968d6d69eade889c9fd2069 (patch)
treedcf6fb94b65a73c1e16776a7a4839d5465001891 /riscos
parent2016628e8e20b64dbd9b980b8d11084e11c7cc3a (diff)
downloadnetsurf-1c3211c50fa189249968d6d69eade889c9fd2069.tar.gz
netsurf-1c3211c50fa189249968d6d69eade889c9fd2069.tar.bz2
remove unrequired includes from riscos thumbnail header
Diffstat (limited to 'riscos')
-rw-r--r--riscos/thumbnail.h15
-rw-r--r--riscos/window.c1
2 files changed, 11 insertions, 5 deletions
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 <http://www.gnu.org/licenses/>.
*/
-/** \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"