summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Logging
diff options
context:
space:
mode:
authorRohit Nirmal <rohitnirmal9@gmail.com>2015-09-04 10:15:16 -0500
committerRohit Nirmal <rohitnirmal9@gmail.com>2015-09-04 10:34:45 -0500
commit8aed7589aeddd9f1ac0bba8726b052e82c1ed8ba (patch)
tree93d0529dc85e75a5ce0f34e9d76e40e727ef9da4 /Source/Core/Common/Logging
parent7ada372ed9305a48e9fe912da1f5ac928631baa9 (diff)
Fix building with PCH disabled.
Diffstat (limited to 'Source/Core/Common/Logging')
-rw-r--r--Source/Core/Common/Logging/ConsoleListenerNix.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/Logging/ConsoleListenerNix.cpp b/Source/Core/Common/Logging/ConsoleListenerNix.cpp
index dd64ca314e..b891b29090 100644
--- a/Source/Core/Common/Logging/ConsoleListenerNix.cpp
+++ b/Source/Core/Common/Logging/ConsoleListenerNix.cpp
@@ -4,6 +4,10 @@
#include <cstdio>
+#ifndef _WIN32
+#include <unistd.h>
+#endif
+
#include "Common/Logging/ConsoleListener.h"
ConsoleListener::ConsoleListener()