summaryrefslogtreecommitdiff
path: root/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index 3fe76553..bc7db419 100644
--- a/includes.h
+++ b/includes.h
@@ -79,6 +79,13 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
#ifdef USE_PAM
# include <security/pam_appl.h>
#endif
+#ifdef HAVE_POLL_H
+# include <poll.h>
+#else
+# ifdef HAVE_SYS_POLL_H
+# include <sys/poll.h>
+# endif
+#endif
#include "version.h"
#include "bsd-misc.h"