diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-01 02:54:26 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-01 02:54:26 +0100 |
commit | 6f660b379ecbc091b9bd92093e0dad01a4f6bf38 (patch) | |
tree | 535fc1db049e93e560d546fd6034d1f7582b3c1f /src/Log.cpp | |
parent | Fixed Linux compile (diff) | |
download | cuberite-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 'src/Log.cpp')
-rw-r--r-- | src/Log.cpp | 6 |
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" |