Skip to content

Commit 9296c62

Browse files
authored
Merge pull request #46 from hotafrika/fix/imports
fix for new MacOS versions
2 parents f60812e + 7fdc026 commit 9296c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keybd_darwin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package keybd_event
33
/*
44
#cgo CFLAGS: -x objective-c
55
#cgo LDFLAGS: -framework Cocoa
6-
#import <Foundation/Foundation.h>
6+
#import <Cocoa/Cocoa.h>
77
#import <ApplicationServices/ApplicationServices.h>
88
CGEventRef CreateDown(int k){
99
CGEventRef event = CGEventCreateKeyboardEvent (NULL, (CGKeyCode)k, true);

0 commit comments

Comments
 (0)