fixed: ServiceManagement not available in 10.5

This commit is contained in:
Nick Bolton 2014-03-23 10:17:32 +00:00
parent 1f9c2ba7e2
commit 5ff37a0937
1 changed files with 2 additions and 0 deletions

View File

@ -17,7 +17,9 @@
#import "AXDatabaseCleaner.h" #import "AXDatabaseCleaner.h"
#import <Cocoa/Cocoa.h> #import <Cocoa/Cocoa.h>
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
#import <ServiceManagement/ServiceManagement.h> #import <ServiceManagement/ServiceManagement.h>
#endif
#import <Security/Authorization.h> #import <Security/Authorization.h>
const NSString* const label = @"synmacph"; const NSString* const label = @"synmacph";