r22829: system/select.h needs to bring in epoll.h for epoll usage in
authorAndrew Tridgell <tridge@samba.org>
Mon, 14 May 2007 00:31:04 +0000 (00:31 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:52:21 +0000 (14:52 -0500)
lib/events

source/lib/replace/system/select.h

index 97140e1d7346bcc18e66804d0cda595df96fa636..a196f9c4789887430f45d2b8b30e3baf8c066517 100644 (file)
 #include <sys/select.h>
 #endif
 
+#ifdef HAVE_SYS_EPOLL_H
+#include <sys/epoll.h>
+#endif
+
 #ifndef SELECT_CAST
 #define SELECT_CAST
 #endif