@ -8,6 +8,7 @@
#include <sys/time.h>
#endif
#ifdef HAVE_EPOLL
#include <inttypes.h>
#include <sys/epoll.h>
@ -1,10 +1,11 @@
#define _GNU_SOURCE
#define extern
#include "io_internal.h"
#undef extern
#ifdef HAVE_SIGIO
#include <sys/poll.h>
#include <signal.h>
#include <fcntl.h>
#include <sys/types.h>
@ -13,8 +14,10 @@
#include <sys/event.h>
#include <unistd.h>
/* put d on internal data structure, return 1 on success, 0 on error */
int io_fd(int64 d) {
@ -11,6 +11,7 @@