From: Dylan Baker Date: Wed, 14 Mar 2018 16:28:58 +0000 (-0700) Subject: Revert "sched.h needs to be imported on Darwin/OSX targets." X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f30c80932342e1e4dfef0b11012ab053d9d7ca8;p=mesa.git Revert "sched.h needs to be imported on Darwin/OSX targets." This reverts commit 9dc5063262d0a5130cf0723a33079f3fd17560c3. This breaks the build on at least Linux, probably other non-apple platforms. Signed-off-by: Dylan Baker Reviewed-by: Adam Jackson Reviewed-by: Daniel Stone --- diff --git a/src/gallium/drivers/swr/swr_fence.cpp b/src/gallium/drivers/swr/swr_fence.cpp index b05ac8cec02..3005eb9aaad 100644 --- a/src/gallium/drivers/swr/swr_fence.cpp +++ b/src/gallium/drivers/swr/swr_fence.cpp @@ -29,10 +29,6 @@ #include "swr_screen.h" #include "swr_fence.h" -#ifdef __APPLE__ -#include -#endif - #if defined(PIPE_CC_MSVC) // portable thread yield #define sched_yield SwitchToThread #endif