From: Howard Chu Date: Sun, 21 Nov 2004 02:18:26 +0000 (+0000) Subject: Don't bother including if we're not using epoll. X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~256 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=70d3e8f10214516ef3b7568e5efac20e41379c3b;p=openldap Don't bother including if we're not using epoll. --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index a0efe04256..0b9e408716 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -40,7 +40,7 @@ #include "ldap_rq.h" -#ifdef HAVE_SYS_EPOLL_H +#if defined(HAVE_SYS_EPOLL_H) && defined(HAVE_EPOLL) #include #endif