#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
-#include <limits.h>
#include "pthread_impl.h"
+#include "libc.h"
static void dummy(void)
{
__aio_wake();
- switch (cb->aio_sigevent.sigev_notify) {
+ switch (sev.sigev_notify) {
case SIGEV_SIGNAL:
notify_signal(&sev);
break;