summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"