Revert "sched.h needs to be imported on Darwin/OSX targets."
authorDylan Baker <dylan@pnwbakers.com>
Wed, 14 Mar 2018 16:28:58 +0000 (09:28 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 14 Mar 2018 16:28:58 +0000 (09:28 -0700)
This reverts commit 9dc5063262d0a5130cf0723a33079f3fd17560c3.

This breaks the build on at least Linux, probably other non-apple
platforms.

Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/gallium/drivers/swr/swr_fence.cpp

index b05ac8cec02fa5a3a8b922b350675c0145fd6c05..3005eb9aaadd61dd82b92f2ea182d9cebae9273a 100644 (file)
 #include "swr_screen.h"
 #include "swr_fence.h"
 
-#ifdef __APPLE__
-#include <sched.h>
-#endif
-
 #if defined(PIPE_CC_MSVC) // portable thread yield
    #define sched_yield SwitchToThread
 #endif