From 70d3e8f10214516ef3b7568e5efac20e41379c3b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 21 Nov 2004 02:18:26 +0000 Subject: [PATCH] Don't bother including if we're not using epoll. --- servers/slapd/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5