diff --git a/source/utils/CarlaMacUtils.hpp b/source/utils/CarlaMacUtils.hpp index 8c74335e7..ad6d00b35 100644 --- a/source/utils/CarlaMacUtils.hpp +++ b/source/utils/CarlaMacUtils.hpp @@ -25,7 +25,11 @@ #include "CarlaBackend.h" // don't include Foundation.h here +extern "C" { typedef struct __CFBundle* CFBundleRef; +typedef const struct __CFString* CFStringRef; +void* CFBundleGetFunctionPointerForName(CFBundleRef, CFStringRef); +} CARLA_BACKEND_START_NAMESPACE