From 2ca2a50b47a8a0f7b0ecddb30e29fc6b3269862c Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Fri, 9 Oct 2020 15:38:41 +0200 Subject: [PATCH] Include sys/select.h on non-glibc Linux platforms (#4977) Otherwise fd_set will be unknown for example on Musl libc systems --- src/Root.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Root.cpp b/src/Root.cpp index 49adf3f6c..dbea1fd9e 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -13,6 +13,10 @@ #include #if defined(__linux__) #include + + #if !defined(__GLIBC__) + #include + #endif #elif defined(__APPLE__) #include #endif