1
0

Include sys/select.h on non-glibc Linux platforms (#4977)

Otherwise fd_set will be unknown for example on Musl libc systems
This commit is contained in:
Bart Ribbers
2020-10-09 15:38:41 +02:00
committed by GitHub
parent 3381c0f6d6
commit 2ca2a50b47

View File

@@ -13,6 +13,10 @@
#include <signal.h>
#if defined(__linux__)
#include <fstream>
#if !defined(__GLIBC__)
#include <sys/select.h>
#endif
#elif defined(__APPLE__)
#include <mach/mach.h>
#endif