diff options
author | John Ralls <jralls@ceridwen.us> | 2023-05-09 13:51:28 -0700 |
---|---|---|
committer | John Ralls <jralls@ceridwen.us> | 2023-05-09 13:51:28 -0700 |
commit | ddf984f42c42d25b35ce6e2a49bab112053cb7ab (patch) | |
tree | 6a14940a513d16d80b7641e35916e35411acbc7d | |
parent | 90472dc481e83b0890aca66e45ea5c165f432a7f (diff) | |
download | gtk+-ddf984f42c42d25b35ce6e2a49bab112053cb7ab.tar.gz |
Finally resolve gdkquartz.h include path issue.
By using a different include path for building Gtk.
-rw-r--r-- | gdk/quartz/gdkquartz-cocoa-access.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/quartz/gdkquartz-cocoa-access.h b/gdk/quartz/gdkquartz-cocoa-access.h index def2814252..216d33d395 100644 --- a/gdk/quartz/gdkquartz-cocoa-access.h +++ b/gdk/quartz/gdkquartz-cocoa-access.h @@ -25,7 +25,11 @@ #include <AppKit/AppKit.h> #include <gdk/gdk.h> +#if (defined (GTK_COMPILATION) || defined (GDK_COMPILATION)) #include "gdkquartz.h" +#else +#include <gdk/gdkquartz.h> +#endif GDK_AVAILABLE_IN_ALL NSEvent *gdk_quartz_event_get_nsevent (GdkEvent *event); |