summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-10-09 15:38:41 +0200
committerGitHub <noreply@github.com>2020-10-09 15:38:41 +0200
commit2ca2a50b47a8a0f7b0ecddb30e29fc6b3269862c (patch)
treee0945e288db6c91a73e68de7d384504ac6a2c33b /src/Root.cpp
parentMerged OnBreak with OnPlayerBreak (#4967) (diff)
downloadcuberite-2ca2a50b47a8a0f7b0ecddb30e29fc6b3269862c.tar
cuberite-2ca2a50b47a8a0f7b0ecddb30e29fc6b3269862c.tar.gz
cuberite-2ca2a50b47a8a0f7b0ecddb30e29fc6b3269862c.tar.bz2
cuberite-2ca2a50b47a8a0f7b0ecddb30e29fc6b3269862c.tar.lz
cuberite-2ca2a50b47a8a0f7b0ecddb30e29fc6b3269862c.tar.xz
cuberite-2ca2a50b47a8a0f7b0ecddb30e29fc6b3269862c.tar.zst
cuberite-2ca2a50b47a8a0f7b0ecddb30e29fc6b3269862c.zip
Diffstat (limited to '')
-rw-r--r--src/Root.cpp4
1 files changed, 4 insertions, 0 deletions
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 <signal.h>
#if defined(__linux__)
#include <fstream>
+
+ #if !defined(__GLIBC__)
+ #include <sys/select.h>
+ #endif
#elif defined(__APPLE__)
#include <mach/mach.h>
#endif