summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/browser.c1
-rw-r--r--desktop/global_history.h9
-rw-r--r--frontends/amiga/tree.c1
-rw-r--r--frontends/riscos/global_history.c3
4 files changed, 8 insertions, 6 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index 5f99a845b..d3648d76a 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -72,6 +72,7 @@
#include "desktop/selection.h"
#include "desktop/theme.h"
#include "desktop/gui_internal.h"
+#include "desktop/textinput.h"
/** maximum frame depth */
diff --git a/desktop/global_history.h b/desktop/global_history.h
index bfbd13258..f289a5b06 100644
--- a/desktop/global_history.h
+++ b/desktop/global_history.h
@@ -22,14 +22,13 @@
#include <stdbool.h>
#include <stdint.h>
-#include "desktop/core_window.h"
-#include "desktop/textinput.h"
#include "utils/errors.h"
+#include "netsurf/mouse.h"
+struct core_window_callback_table;
struct redraw_context;
struct nsurl;
-
-enum browser_mouse_state;
+struct rect;
/**
* Initialise the global history.
@@ -67,7 +66,7 @@ nserror global_history_fini(void);
*/
nserror global_history_add(struct nsurl *url);
-/*
+/**
* Save global history to file (html)
*
* \param path The path to save history to
diff --git a/frontends/amiga/tree.c b/frontends/amiga/tree.c
index 033e356d6..c46eee460 100644
--- a/frontends/amiga/tree.c
+++ b/frontends/amiga/tree.c
@@ -60,6 +60,7 @@
#include "desktop/global_history.h"
#include "desktop/hotlist.h"
#include "desktop/sslcert_viewer.h"
+#include "desktop/textinput.h"
#include "amiga/gui.h"
#include "amiga/tree.h"
diff --git a/frontends/riscos/global_history.c b/frontends/riscos/global_history.c
index edef331f2..8e339e6b9 100644
--- a/frontends/riscos/global_history.c
+++ b/frontends/riscos/global_history.c
@@ -34,9 +34,10 @@
#include "utils/nsoption.h"
#include "utils/messages.h"
#include "utils/log.h"
+#include "netsurf/window.h"
#include "desktop/global_history.h"
#include "desktop/tree.h"
-#include "netsurf/window.h"
+#include "desktop/textinput.h"
#include "riscos/dialog.h"
#include "riscos/global_history.h"