summaryrefslogtreecommitdiff
path: root/src/drivers/Unix/Fl_Unix_Screen_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-08-27 18:32:47 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-08-27 18:32:47 +0200
commitc7417f793f192993f2c6a2a1634ba1ec481d311e (patch)
tree11affdc096e559274fc65ded9a638b050d4463c6 /src/drivers/Unix/Fl_Unix_Screen_Driver.H
parent5fae7b36bb98b99a7b5b84e42c702945ff073983 (diff)
Restore building with option FLTK_USE_POLL
Diffstat (limited to 'src/drivers/Unix/Fl_Unix_Screen_Driver.H')
-rw-r--r--src/drivers/Unix/Fl_Unix_Screen_Driver.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/Unix/Fl_Unix_Screen_Driver.H b/src/drivers/Unix/Fl_Unix_Screen_Driver.H
index 2b8a5a7ab..36eb943f8 100644
--- a/src/drivers/Unix/Fl_Unix_Screen_Driver.H
+++ b/src/drivers/Unix/Fl_Unix_Screen_Driver.H
@@ -52,7 +52,9 @@ static pollfd *pollfds = 0;
class Fl_Unix_Screen_Driver : public Fl_Screen_Driver {
public:
+# if !USE_POLL
static fd_set fdsets[3];
+# endif
static int maxfd;
static int nfds;
static struct FD {