Fix KEvent header includes
This commit is contained in:
parent
5a06c2260d
commit
c398bdc534
1 changed files with 3 additions and 2 deletions
|
|
@ -47,8 +47,9 @@ const
|
|||
EV_ERROR* = 0x4000 ## Error, data contains errno
|
||||
|
||||
type
|
||||
KEvent* {.importc: "struct kevent",
|
||||
header: "<sys/event.h>", pure, final.} = object
|
||||
KEvent* {.importc: "struct kevent", pure, final
|
||||
header: """#include <sys/types.h>
|
||||
#include <sys/event.h>""".} = object
|
||||
ident*: cuint ## identifier for this event (uintptr_t)
|
||||
filter*: cshort ## filter for event
|
||||
flags*: cushort ## general flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue