From b1bb708d4f20e899f5ff8df46b6b4297380b6748 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 16 Jan 2014 15:17:48 +0000 Subject: fix cocoa build --- cocoa/selection.m | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cocoa/selection.m') diff --git a/cocoa/selection.m b/cocoa/selection.m index e95a78441..d511337d3 100644 --- a/cocoa/selection.m +++ b/cocoa/selection.m @@ -21,6 +21,7 @@ #import "cocoa/BrowserViewController.h" #import "cocoa/selection.h" +#import "desktop/gui.h" #import "desktop/browser_private.h" @@ -96,3 +97,9 @@ void gui_set_clipboard(const char *buffer, size_t length, } } +static struct gui_clipboard_table clipboard_table = { + .get = gui_get_clipboard, + .set = gui_set_clipboard, +}; + +struct gui_clipboard_table *cocoa_clipboard_table = &clipboard_table; -- cgit v1.2.3