aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTeddy Wing2018-08-27 18:34:35 +0200
committerTeddy Wing2018-08-27 18:34:35 +0200
commitc48f76ba6581bceade85071c1d8e34a72670908d (patch)
treefaae897ae6fcfaced3f5f6222402c8b7cee0426d /lib
parentf4c4e70ac7b86b9b0c64a4786adc1d9e4b50097c (diff)
downloadDomeKey-c48f76ba6581bceade85071c1d8e34a72670908d.tar.bz2
char_to_key_code.m: Import Carbon
The TIS functions etc. are in Carbon, which needs to be imported.
Diffstat (limited to 'lib')
-rw-r--r--lib/char_to_key_code.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/char_to_key_code.m b/lib/char_to_key_code.m
index b4fcdec..d250648 100644
--- a/lib/char_to_key_code.m
+++ b/lib/char_to_key_code.m
@@ -1,3 +1,5 @@
+#import <Carbon/Carbon.h>
+
// Théo Winterhalter
// https://stackoverflow.com/users/1275975/th%c3%a9o-winterhalter
// https://stackoverflow.com/questions/1918841/how-to-convert-ascii-character-to-cgkeycode/33584460#33584460