#include "event2/event-config.h"
#include "evconfig-private.h"
+#ifdef _EVENT_HAVE_DEVPOLL
+
#include <sys/types.h>
#include <sys/resource.h>
#ifdef _EVENT_HAVE_SYS_TIME_H
memset(devpollop, 0, sizeof(struct devpollop));
mm_free(devpollop);
}
+
+#endif /* _EVENT_HAVE_DEVPOLL */
#include "event2/event-config.h"
#include "evconfig-private.h"
+#ifdef _EVENT_HAVE_EPOLL
+
#include <stdint.h>
#include <sys/types.h>
#include <sys/resource.h>
memset(epollop, 0, sizeof(struct epollop));
mm_free(epollop);
}
+
+#endif /* _EVENT_HAVE_EPOLL */
#include "event2/event-config.h"
#include "evconfig-private.h"
+#ifdef _EVENT_HAVE_EVENT_PORTS
+
#include <sys/time.h>
#include <sys/queue.h>
#include <errno.h>
mm_free(evpd);
}
+
+#endif /* _EVENT_HAVE_EVENT_PORTS */
#include "event2/event-config.h"
#include "evconfig-private.h"
+#ifdef _EVENT_HAVE_KQUEUE
+
#include <sys/types.h>
#ifdef _EVENT_HAVE_SYS_TIME_H
#include <sys/time.h>
return (0);
}
+
+#endif /* _EVENT_HAVE_KQUEUE */
#include "event2/event-config.h"
#include "evconfig-private.h"
+#ifdef _EVENT_HAVE_POLL
+
#include <sys/types.h>
#ifdef _EVENT_HAVE_SYS_TIME_H
#include <sys/time.h>
memset(pop, 0, sizeof(struct pollop));
mm_free(pop);
}
+
+#endif /* _EVENT_HAVE_POLL */
#include "event2/event-config.h"
#include "evconfig-private.h"
+#ifdef _EVENT_HAVE_SELECT
+
#ifdef __APPLE__
/* Apple wants us to define this if we might ever pass more than
* FD_SETSIZE bits to select(). */
select_free_selectop(base->evbase);
}
+
+#endif /* _EVENT_HAVE_SELECT */