From fa61d59d69fd3bce28ce2958680908fe4505746d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sun, 22 Nov 1998 00:58:15 +0100
Subject: [PATCH] * io.c: Use Sean Reifschneider's poll-by-select emulation if
 poll() is unavailable.

Rev: src/io.c:1.28
---
 src/io.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/io.c b/src/io.c
index 72788457b..5e76ab86a 100644
--- a/src/io.c
+++ b/src/io.c
@@ -27,7 +27,13 @@
 #include <string.h>
 
 #include <unistd.h>
+
+#ifdef HAVE_POLL
 #include <poll.h>
+#else
+#include "poll.h"
+#endif
+
 #include <errno.h>
 #include <fcntl.h>
 #include <sys/types.h>
-- 
GitLab