summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
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"