aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 406740d98..4027ea42f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -85,6 +85,8 @@
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
+#elif defined(HAVE_POLL_H)
+#include <poll.h>
#endif
#ifdef HAVE_LOCALE_H