From d923e109cd56c553c8e87cdb8bdab5085e68cc73 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Thu, 2 Jun 2016 21:55:46 +0100 Subject: [PATCH] Fix OS3 build --- frontends/amiga/drag.c | 7 +++++++ frontends/amiga/drag.h | 1 + 2 files changed, 8 insertions(+) diff --git a/frontends/amiga/drag.c b/frontends/amiga/drag.c index 9fdd1972d..b653be815 100644 --- a/frontends/amiga/drag.c +++ b/frontends/amiga/drag.c @@ -323,6 +323,7 @@ void *ami_window_at_pointer(int type) } #else +#include "utils/errors.h" #include "amiga/drag.h" void gui_drag_save_object(struct gui_window *g, struct hlcache_handle *c, @@ -348,6 +349,7 @@ void ami_drag_icon_close(struct Window *win) bool ami_drag_icon_move(void) { + return false; } BOOL ami_drag_in_progress(void) @@ -355,6 +357,11 @@ BOOL ami_drag_in_progress(void) return FALSE; } +bool ami_drag_has_data(void) +{ + return false; +} + void *ami_window_at_pointer(int type) { return NULL; diff --git a/frontends/amiga/drag.h b/frontends/amiga/drag.h index 7048a10fc..c0b040f72 100644 --- a/frontends/amiga/drag.h +++ b/frontends/amiga/drag.h @@ -19,6 +19,7 @@ #ifndef AMIGA_DRAG_H #define AMIGA_DRAG_H +#include #include #include "netsurf/window.h"