diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m index c9ccd48033..2ef597c0fc 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -33,7 +33,7 @@ #if HAVE_MACOS_TOUCHBAR #import "osdep/macosx_touchbar.h" #endif -#if HAVE_MACOS_COCOA_CB +#if HAVE_SWIFT #include "osdep/macOS_swift.h" #endif diff --git a/osdep/macosx_events.m b/osdep/macosx_events.m index 1b041cdb09..e7f738f2b2 100644 --- a/osdep/macosx_events.m +++ b/osdep/macosx_events.m @@ -38,7 +38,7 @@ #include "config.h" -#if HAVE_MACOS_COCOA_CB +#if HAVE_SWIFT #include "osdep/macOS_swift.h" #endif