summaryrefslogtreecommitdiffstats
path: root/source4/lib/events/events_epoll.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-15 07:15:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:40:55 -0500
commit274df78541eec948e546bb98901b5bb00aaadc00 (patch)
tree959390245acf753ef11ddbc78280a9baf8bdacf9 /source4/lib/events/events_epoll.c
parentf5473306c53b53f7e13bce74a0fb1138699afa22 (diff)
downloadsamba-274df78541eec948e546bb98901b5bb00aaadc00.tar.gz
samba-274df78541eec948e546bb98901b5bb00aaadc00.tar.xz
samba-274df78541eec948e546bb98901b5bb00aaadc00.zip
r20788: - remove epoll configure checks from libreplace
- fix epoll configure checks for the epoll and aio events backends - we should only activate the epoll backend if sys/epoll.h and epoll_create() are found - we should only activate the aio backend if sys/epoll.h, epoll_create(), libaio.h and io_getevents() are found hopefully fix the build on 'bnhtest' in the build farm... metze (This used to be commit d46a5efb03ea1df50567cad00e1589870cdb31fe)
Diffstat (limited to 'source4/lib/events/events_epoll.c')
-rw-r--r--source4/lib/events/events_epoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/events/events_epoll.c b/source4/lib/events/events_epoll.c
index cd894d8dff1..f69b5bc6f49 100644
--- a/source4/lib/events/events_epoll.c
+++ b/source4/lib/events/events_epoll.c
@@ -23,10 +23,10 @@
#include "includes.h"
#include "system/filesys.h"
-#include "system/select.h" /* needed for WITH_EPOLL */
#include "lib/util/dlinklist.h"
#include "lib/events/events.h"
#include "lib/events/events_internal.h"
+#include <sys/epoll.h>
struct epoll_event_context {
/* a pointer back to the generic event_context */