]> git.sur5r.net Git - openldap/commitdiff
Don't bother including <sys/epoll.h> if we're not using epoll.
authorHoward Chu <hyc@openldap.org>
Sun, 21 Nov 2004 02:18:26 +0000 (02:18 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 21 Nov 2004 02:18:26 +0000 (02:18 +0000)
servers/slapd/daemon.c

index a0efe04256f474a5e982a97a475e663b6936f36b..0b9e40871612e82cea45f2a0cb09ff40f583198e 100644 (file)
@@ -40,7 +40,7 @@
 
 #include "ldap_rq.h"
 
-#ifdef HAVE_SYS_EPOLL_H
+#if defined(HAVE_SYS_EPOLL_H) && defined(HAVE_EPOLL)
 #include <sys/epoll.h>
 #endif