From b3f2db5e018b8e1c1f7ed2ba93608cc544bdca42 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 11 Jan 2006 15:07:14 +0000 Subject: r12844: don't include system headers directly metze (This used to be commit 75a98047d6829cadf4b9082bec2733055dad3465) --- source4/include/system/select.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source4/include/system') diff --git a/source4/include/system/select.h b/source4/include/system/select.h index 2b800fd270..c0595492cd 100644 --- a/source4/include/system/select.h +++ b/source4/include/system/select.h @@ -28,3 +28,11 @@ #define SELECT_CAST #endif +/* use epoll if it is available */ +#if defined(HAVE_EPOLL_CREATE) && defined(HAVE_SYS_EPOLL_H) +#define WITH_EPOLL 1 +#endif + +#if WITH_EPOLL +#include +#endif -- cgit