summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-06-25 12:33:52 +0100
committerVincent Sanders <vince@kyllikki.org>2020-06-25 12:33:52 +0100
commit82bb483964df8f7d04d2131ba3304dc23bb45b5a (patch)
tree7e1368c16d208a23047d48eb4a023b42b1c834f0 /content
parent1acf3abb399d8092aece07acf2151d70bef7774f (diff)
downloadnetsurf-82bb483964df8f7d04d2131ba3304dc23bb45b5a.tar.gz
netsurf-82bb483964df8f7d04d2131ba3304dc23bb45b5a.tar.bz2
remove unesessary header use in protected content
Diffstat (limited to 'content')
-rw-r--r--content/content_protected.h2
-rw-r--r--content/handlers/html/interaction.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/content/content_protected.h b/content/content_protected.h
index dbea229a9..fd0924d64 100644
--- a/content/content_protected.h
+++ b/content/content_protected.h
@@ -31,7 +31,6 @@
#include <libwapcaplet/libwapcaplet.h>
#include "netsurf/content_type.h"
-#include "desktop/search.h" /* search flags enum */
#include "netsurf/mouse.h" /* mouse state enums */
struct nsurl;
@@ -43,6 +42,7 @@ struct object_params;
struct content;
struct redraw_context;
struct rect;
+struct browser_window;
struct browser_window_features;
struct textsearch_context;
struct box;
diff --git a/content/handlers/html/interaction.h b/content/handlers/html/interaction.h
index fe8beada0..f92e3adb0 100644
--- a/content/handlers/html/interaction.h
+++ b/content/handlers/html/interaction.h
@@ -24,6 +24,8 @@
#ifndef NETSURF_HTML_INTERACTION_H
#define NETSURF_HTML_INTERACTION_H
+#include "desktop/search.h" /* search flags enum */
+
/**
* Context for scrollbar
*/