polkit-context.c: In function 'polkit_context_init':
polkit-context.c:167: error: storage size of 'ev' isn't known
polkit-context.c:232: error: 'PolKitContext' has no member named 'kqueue_fd'
polkit-context.c:232: warning: implicit declaration of function 'kqueue'
polkit-context.c:232: warning: nested extern declaration of 'kqueue'
polkit-context.c:233: error: 'PolKitContext' has no member named 'kqueue_fd'
polkit-context.c:240: error: 'PolKitContext' has no member named 'kqueue_config_fd'
polkit-context.c:240: warning: implicit declaration of function 'open'
polkit-context.c:240: warning: nested extern declaration of 'open'
polkit-context.c:240: error: 'O_RDONLY' undeclared (first use in this function)
polkit-context.c:240: error: (Each undeclared identifier is reported only once
polkit-context.c:240: error: for each function it appears in.)
polkit-context.c:241: error: 'PolKitContext' has no member named 'kqueue_config_fd'
polkit-context.c:248: warning: implicit declaration of function 'EV_SET'
polkit-context.c:248: warning: nested extern declaration of 'EV_SET'
polkit-context.c:248: error: 'PolKitContext' has no member named 'kqueue_config_fd'
polkit-context.c:248: error: 'EVFILT_VNODE' undeclared (first use in this function)
polkit-context.c:249: error: 'EV_ADD' undeclared (first use in this function)
polkit-context.c:249: error: 'EV_ENABLE' undeclared (first use in this function)
polkit-context.c:249: error: 'EV_CLEAR' undeclared (first use in this function)
polkit-context.c:250: error: 'NOTE_DELETE' undeclared (first use in this function)
polkit-context.c:250: error: 'NOTE_EXTEND' undeclared (first use in this function)
polkit-context.c:250: error: 'NOTE_WRITE' undeclared (first use in this function)
polkit-context.c:250: error: 'NOTE_RENAME' undeclared (first use in this function)
polkit-context.c:252: warning: implicit declaration of function 'kevent'
polkit-context.c:252: warning: nested extern declaration of 'kevent'
polkit-context.c:252: error: 'PolKitContext' has no member named 'kqueue_fd'
polkit-context.c:255: error: 'PolKitContext' has no member named 'kqueue_config_fd'
polkit-context.c:261: error: 'PolKitContext' has no member named 'kqueue_policy_fd'
polkit-context.c:262: error: 'PolKitContext' has no member named 'kqueue_policy_fd'
polkit-context.c:269: error: 'PolKitContext' has no member named 'kqueue_policy_fd'
polkit-context.c:273: error: 'PolKitContext' has no member named 'kqueue_fd'
polkit-context.c:276: error: 'PolKitContext' has no member named 'kqueue_policy_fd'
polkit-context.c:283: error: 'PolKitContext' has no member named 'kqueue_grant_perm_fd'
polkit-context.c:284: error: 'PolKitContext' has no member named 'kqueue_grant_perm_fd'
polkit-context.c:291: error: 'PolKitContext' has no member named 'kqueue_grant_perm_fd'
polkit-context.c:293: error: 'NOTE_ATTRIB' undeclared (first use in this function)
polkit-context.c:295: error: 'PolKitContext' has no member named 'kqueue_fd'
polkit-context.c:298: error: 'PolKitContext' has no member named 'kqueue_grant_perm_fd'
polkit-context.c:304: error: 'PolKitContext' has no member named 'kqueue_fd_watch_id'
polkit-context.c:304: error: 'PolKitContext' has no member named 'kqueue_fd'
polkit-context.c:305: error: 'PolKitContext' has no member named 'kqueue_fd_watch_id'
polkit-context.c:167: warning: unused variable 'ev'
polkit-context.c: In function 'polkit_context_io_func':
polkit-context.c:546: error: 'PolKitContext' has no member named 'kqueue_fd'
polkit-context.c:547: error: array type has incomplete element type
polkit-context.c:564: error: dereferencing pointer to incomplete type
polkit-context.c:564: error: dereferencing pointer to incomplete type
polkit-context.c:564: error: dereferencing pointer to incomplete type
polkit-context.c:564: error: dereferencing pointer to incomplete type
polkit-context.c:547: warning: unused variable 'ev'
gmake[3]: *** [polkit-context.lo] Error 1