summaryrefslogtreecommitdiff
path: root/riscos/frames.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/frames.c')
-rw-r--r--riscos/frames.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/riscos/frames.c b/riscos/frames.c
index 055d531e5..1c49382ef 100644
--- a/riscos/frames.c
+++ b/riscos/frames.c
@@ -7,6 +7,7 @@
#include <stdbool.h>
+#include "netsurf/utils/config.h"
#include "netsurf/desktop/browser.h"
#include "netsurf/desktop/gui.h"
#include "netsurf/riscos/frames.h"
@@ -20,6 +21,8 @@
#include "oslib/os.h"
#include "oslib/wimp.h"
+#ifdef WITH_FRAMES
+
void frame_add_instance_to_list(struct content *c, struct browser_window *parent, struct content *page, struct box *box, struct object_params *params, void **state, struct browser_window *bw, gui_window *g);
void frame_remove_instance_from_list(struct content *c);
struct frame_list *frame_get_instance_from_list(struct content *c);
@@ -206,3 +209,4 @@ struct frame_list *frame_get_instance_from_list(struct content *c) {
return NULL;
}
+#endif