summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'javascript')
-rw-r--r--javascript/duktape/Location.bnd2
-rw-r--r--javascript/duktape/Window.bnd2
-rw-r--r--javascript/jsapi/location.bnd2
3 files changed, 3 insertions, 3 deletions
diff --git a/javascript/duktape/Location.bnd b/javascript/duktape/Location.bnd
index fbb0e4a06..ca7e90509 100644
--- a/javascript/duktape/Location.bnd
+++ b/javascript/duktape/Location.bnd
@@ -15,7 +15,7 @@ class Location {
prologue Location()
%{
-#include "desktop/browser.h"
+#include "netsurf/browser_window.h"
%}
init Location(nsurl *url)
diff --git a/javascript/duktape/Window.bnd b/javascript/duktape/Window.bnd
index 81d52809a..c9fc3ca4d 100644
--- a/javascript/duktape/Window.bnd
+++ b/javascript/duktape/Window.bnd
@@ -13,7 +13,7 @@ class Window {
private struct html_content * htmlc;
prologue %{
#include "utils/nsurl.h"
-#include "desktop/browser.h"
+#include "netsurf/browser_window.h"
#include "render/html.h"
#include "render/html_internal.h"
%};
diff --git a/javascript/jsapi/location.bnd b/javascript/jsapi/location.bnd
index f64f6330e..96c0a30d5 100644
--- a/javascript/jsapi/location.bnd
+++ b/javascript/jsapi/location.bnd
@@ -17,7 +17,7 @@ hdrcomment " http://www.opensource.org/licenses/mit-license";
preamble %{
-#include "desktop/browser.h"
+#include "netsurf/browser_window.h"
#include "utils/config.h"
#include "utils/log.h"