forgot to import unsafe

This commit is contained in:
Cauê Felchar 2019-02-14 19:02:54 -02:00
parent 850a61c06c
commit 0df92dc3d4

View File

@ -19,7 +19,6 @@ package hook
#cgo linux LDFLAGS: -lX11-xcb -lxcb -lxcb-xkb -lxkbcommon -lxkbcommon-x11 #cgo linux LDFLAGS: -lX11-xcb -lxcb -lxcb-xkb -lxkbcommon -lxkbcommon-x11
//#cgo windows LDFLAGS: -lgdi32 -luser32 //#cgo windows LDFLAGS: -lgdi32 -luser32
// #include "event/hook_async.h"
#include "event/goEvent.h" #include "event/goEvent.h"
*/ */
@ -28,6 +27,7 @@ import "C"
import ( import (
"fmt" "fmt"
"time" "time"
"unsafe"
) )
const ( const (