summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-10 12:51:57 +0200
committermadmaxoft <github@xoft.cz>2013-08-10 12:51:57 +0200
commit9794496571b1bd008205049a3abdb9143dc645f5 (patch)
tree34174a89057afea211a3da8a798bf6625ace6d42
parentFixed Linux build. (diff)
downloadcuberite-9794496571b1bd008205049a3abdb9143dc645f5.tar
cuberite-9794496571b1bd008205049a3abdb9143dc645f5.tar.gz
cuberite-9794496571b1bd008205049a3abdb9143dc645f5.tar.bz2
cuberite-9794496571b1bd008205049a3abdb9143dc645f5.tar.lz
cuberite-9794496571b1bd008205049a3abdb9143dc645f5.tar.xz
cuberite-9794496571b1bd008205049a3abdb9143dc645f5.tar.zst
cuberite-9794496571b1bd008205049a3abdb9143dc645f5.zip
Diffstat (limited to '')
-rw-r--r--source/MCLogger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/MCLogger.cpp b/source/MCLogger.cpp
index 99c1533ac..80cbf7406 100644
--- a/source/MCLogger.cpp
+++ b/source/MCLogger.cpp
@@ -17,6 +17,8 @@ bool g_ShouldColorOutput = false;
HANDLE g_Console = GetStdHandle(STD_OUTPUT_HANDLE);
WORD g_DefaultConsoleAttrib = 0x07;
#elif defined (__linux) && !defined(ANDROID_NDK)
+ #include <unistd.h> // Needed for isatty() on Linux
+
bool g_ShouldColorOutput;
#endif