aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Wojniak2014-07-20 15:50:15 -0700
committerKevin Wojniak2014-07-20 15:50:15 -0700
commit42dfc38ef6d8bbe0edf51bb1adaf494b7912b786 (patch)
tree4940933ec00a25ec74cd25c0e83bfac8bfab4898
parenta21ac331ad7b06392035b17ddd4f5cdd934aa36e (diff)
downloadMASShortcut-42dfc38ef6d8bbe0edf51bb1adaf494b7912b786.tar.bz2
Fixed compiling with projects that don't use a precompiled header.
-rw-r--r--MASShortcut.h1
-rw-r--r--MASShortcutView.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/MASShortcut.h b/MASShortcut.h
index 06507f6..905ddaf 100644
--- a/MASShortcut.h
+++ b/MASShortcut.h
@@ -1,4 +1,5 @@
#import <Carbon/Carbon.h>
+#import <AppKit/AppKit.h>
#define MASShortcutChar(char) [NSString stringWithFormat:@"%C", (unsigned short)(char)]
#define MASShortcutClear(flags) (flags & (NSControlKeyMask | NSShiftKeyMask | NSAlternateKeyMask | NSCommandKeyMask))
diff --git a/MASShortcutView.h b/MASShortcutView.h
index 13163d4..d6a4313 100644
--- a/MASShortcutView.h
+++ b/MASShortcutView.h
@@ -1,3 +1,5 @@
+#import <AppKit/AppKit.h>
+
@class MASShortcut;
typedef enum {