]> git.sur5r.net Git - openldap/commitdiff
Just include one or the other of poll.h or sys/poll.h
authorHoward Chu <hyc@openldap.org>
Thu, 21 Sep 2006 18:00:01 +0000 (18:00 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 21 Sep 2006 18:00:01 +0000 (18:00 +0000)
include/ac/socket.h

index 4f2ed14812940e6fd30a5a10f7b2dac173bb2de0..f7534b9e328a88622e215266a29d48090e0502ec 100644 (file)
@@ -23,8 +23,7 @@
 
 #ifdef HAVE_POLL_H
 #include <poll.h>
-#endif
-#ifdef HAVE_SYS_POLL_H
+#elif defined(HAVE_SYS_POLL_H)
 #include <sys/poll.h>
 #endif