summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-01 02:54:26 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-01 02:54:26 +0100
commit6f660b379ecbc091b9bd92093e0dad01a4f6bf38 (patch)
tree535fc1db049e93e560d546fd6034d1f7582b3c1f
parentFixed Linux compile (diff)
downloadcuberite-6f660b379ecbc091b9bd92093e0dad01a4f6bf38.tar
cuberite-6f660b379ecbc091b9bd92093e0dad01a4f6bf38.tar.gz
cuberite-6f660b379ecbc091b9bd92093e0dad01a4f6bf38.tar.bz2
cuberite-6f660b379ecbc091b9bd92093e0dad01a4f6bf38.tar.lz
cuberite-6f660b379ecbc091b9bd92093e0dad01a4f6bf38.tar.xz
cuberite-6f660b379ecbc091b9bd92093e0dad01a4f6bf38.tar.zst
cuberite-6f660b379ecbc091b9bd92093e0dad01a4f6bf38.zip
Diffstat (limited to '')
-rw-r--r--src/Log.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Log.cpp b/src/Log.cpp
index 44dab33c9..aa9f22f84 100644
--- a/src/Log.cpp
+++ b/src/Log.cpp
@@ -7,6 +7,12 @@
#include <ctime>
#include "OSSupport/IsThread.h"
+#ifdef __linux
+#include <sys/ioctl.h>
+#include <unistd.h>
+#endif // __linux
+
+
#if defined(ANDROID_NDK)
#include <android/log.h>
#include "ToJava.h"