diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 6818b1d64d..144a864ec0 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -68,7 +68,7 @@ # endif #endif -#if defined(Q_OS_VXWORKS) +#if defined(Q_OS_VXWORKS) && defined(_WRS_KERNEL) # include #endif