summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 fb99b66f..586647ee 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