summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/bsd-poll.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--openbsd-compat/bsd-poll.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-poll.h b/openbsd-compat/bsd-poll.h
index fb99b66f2..586647ee1 100644
--- a/openbsd-compat/bsd-poll.h
+++ b/openbsd-compat/bsd-poll.h
@@ -33,8 +33,7 @@
#include <sys/types.h>
#ifdef HAVE_POLL_H
# include <poll.h>
-#endif
-#ifdef HAVE_SYS_POLL_H
+#elif HAVE_SYS_POLL_H
# include <sys/poll.h>
#endif