diff --git a/cocoa.m b/cocoa.m index ade7f61d82..38b4760f9b 100644 --- a/cocoa.m +++ b/cocoa.m @@ -34,9 +34,11 @@ x simple graphical prompt to demo - better graphical prompt */ -#include "vl.h" + #import +#include "vl.h" + NSWindow *window = NULL; NSQuickDrawView *qd_view = NULL; diff --git a/vl.h b/vl.h index 3fd7ce9ad1..c8404e10e5 100644 --- a/vl.h +++ b/vl.h @@ -572,6 +572,9 @@ void isa_cirrus_vga_init(DisplayState *ds, uint8_t *vga_ram_base, /* sdl.c */ void sdl_display_init(DisplayState *ds, int full_screen); +/* cocoa.m */ +void cocoa_display_init(DisplayState *ds, int full_screen); + /* ide.c */ #define MAX_DISKS 4