Skip to content

gdk quartz: add missing include

Fixes startup crash with Inkscape which happens since the merge of !641 (merged).

Inkscape's backtrace without this fix:

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xe42ea90)
  * frame #0: 0x00007fff59d4b697 libobjc.A.dylib`objc_msgSend + 23
    frame #1: 0x00007fff2ce9f48c AppKit`-[NSCursor initWithImage:hotSpot:] + 90
    frame #2: 0x0000000102f33825 libgdk-3.0.dylib`_gdk_quartz_display_get_cursor_for_surface(display=0x000000010700d040, surface=0x000000010e42edd0, x=1, y=1) at gdkcursor-quartz.c:270:14
    frame #3: 0x0000000102ee83fa libgdk-3.0.dylib`gdk_cursor_new_from_pixbuf(display=0x000000010700d040, pixbuf=0x0000000107195360, x=1, y=1) at gdkcursor.c:372:12
    frame #4: 0x0000000100a3e887 libinkscape_base.dylib`sp_cursor_from_xpm(char const* const*, unsigned int, unsigned int) + 679

/cc @jralls

Merge request reports