diff --git a/apple/OSX/OSX/RetroArch_OSX.xcodeproj/project.pbxproj b/apple/OSX/OSX/RetroArch_OSX.xcodeproj/project.pbxproj index 2fe660bb81..6f33622800 100644 --- a/apple/OSX/OSX/RetroArch_OSX.xcodeproj/project.pbxproj +++ b/apple/OSX/OSX/RetroArch_OSX.xcodeproj/project.pbxproj @@ -10,6 +10,7 @@ 50351E7D192E5E8900668AB1 /* settings.m in Sources */ = {isa = PBXBuildFile; fileRef = 50351E7C192E5E8900668AB1 /* settings.m */; }; 50351E7F192E5EC100668AB1 /* platform.m in Sources */ = {isa = PBXBuildFile; fileRef = 50351E7E192E5EC100668AB1 /* platform.m */; }; 50535530185E0F4000926C26 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5053552F185E0F4000926C26 /* CoreLocation.framework */; }; + 50C374A919F04F7A00984F8D /* CFExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 50C374A819F04F7A00984F8D /* CFExtensions.m */; }; 50D66298199F344700CF54E3 /* Cg.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50D66297199F344700CF54E3 /* Cg.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; 962EE0E2178B3DF6004224FF /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 962EE0E1178B3DF6004224FF /* IOKit.framework */; }; 96355CE31788E72A0010DBFA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 96355CE21788E72A0010DBFA /* Cocoa.framework */; }; @@ -32,6 +33,7 @@ 50351E7C192E5E8900668AB1 /* settings.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = settings.m; path = ../settings.m; sourceTree = ""; }; 50351E7E192E5EC100668AB1 /* platform.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = platform.m; path = ../platform.m; sourceTree = ""; }; 5053552F185E0F4000926C26 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; }; + 50C374A819F04F7A00984F8D /* CFExtensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CFExtensions.m; path = ../../common/CFExtensions.m; sourceTree = SOURCE_ROOT; }; 50D66295199F28AC00CF54E3 /* Cg.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Cg.framework; sourceTree = ""; }; 50D66297199F344700CF54E3 /* Cg.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cg.framework; path = ../../../../../../../Library/Frameworks/Cg.framework; sourceTree = ""; }; 962EE0E1178B3DF6004224FF /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = ../../../../../../../System/Library/Frameworks/IOKit.framework; sourceTree = ""; }; @@ -129,6 +131,7 @@ 96355CE81788E72A0010DBFA /* common */ = { isa = PBXGroup; children = ( + 50C374A819F04F7A00984F8D /* CFExtensions.m */, 98AF92A9192ED645009A8479 /* main.m */, 98AF92A3192ED60E009A8479 /* RAGameView.m */, 98AF929D192ED5C4009A8479 /* utility.m */, @@ -231,6 +234,7 @@ buildActionMask = 2147483647; files = ( 50351E7D192E5E8900668AB1 /* settings.m in Sources */, + 50C374A919F04F7A00984F8D /* CFExtensions.m in Sources */, 50351E7F192E5EC100668AB1 /* platform.m in Sources */, 98AF929E192ED5C4009A8479 /* utility.m in Sources */, 98AF92A4192ED60E009A8479 /* RAGameView.m in Sources */, diff --git a/apple/common/CFExtensions.h b/apple/common/CFExtensions.h index 6b6989d768..380b9a927f 100644 --- a/apple/common/CFExtensions.h +++ b/apple/common/CFExtensions.h @@ -16,6 +16,8 @@ #ifndef _CFEXTENSIONS_H #define _CFEXTENSIONS_H +#include + typedef enum { CFApplicationDirectory = 1, // supported applications (Applications) diff --git a/apple/common/CFExtensions.m b/apple/common/CFExtensions.m index 79eac4af8e..83b5f4a166 100644 --- a/apple/common/CFExtensions.m +++ b/apple/common/CFExtensions.m @@ -13,6 +13,8 @@ * If not, see . */ +#include +#import #include "CFExtensions.h" CFArrayRef CFSearchPathForDirectoriesInDomains(unsigned flags,