summaryrefslogtreecommitdiffstats
path: root/serverloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/serverloop.c b/serverloop.c
index 15beac2d..0541f028 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -50,7 +50,9 @@
#include <fcntl.h>
#include <pwd.h>
#include <limits.h>
+#ifdef HAVE_POLL_H
#include <poll.h>
+#endif
#include <signal.h>
#include <string.h>
#include <termios.h>