From 03e1da0ba9209808cb3e2a9839df9fae6adf1193 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 29 Oct 2014 10:37:39 -0700 Subject: [PATCH] include unistd only on Q_OS_LINUX --- libraries/shared/src/LogHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/shared/src/LogHandler.cpp b/libraries/shared/src/LogHandler.cpp index 1d8e55f432..5be98bf162 100644 --- a/libraries/shared/src/LogHandler.cpp +++ b/libraries/shared/src/LogHandler.cpp @@ -17,7 +17,7 @@ #define getpid _getpid #define getppid _getpid // hack to build #define pid_t int // hack to build -#else +#elsif Q_OS_LINUX #include // for getpid() on linux #endif