From 42dfc38ef6d8bbe0edf51bb1adaf494b7912b786 Mon Sep 17 00:00:00 2001 From: Kevin Wojniak Date: Sun, 20 Jul 2014 15:50:15 -0700 Subject: Fixed compiling with projects that don't use a precompiled header. --- MASShortcut.h | 1 + MASShortcutView.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/MASShortcut.h b/MASShortcut.h index 06507f6..905ddaf 100644 --- a/MASShortcut.h +++ b/MASShortcut.h @@ -1,4 +1,5 @@ #import +#import #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 + @class MASShortcut; typedef enum { -- cgit v1.2.3