summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-03-14 09:28:58 -0700
committerDylan Baker <[email protected]>2018-03-14 09:28:58 -0700
commit0f30c80932342e1e4dfef0b11012ab053d9d7ca8 (patch)
tree5a69c68fe2eacba536401cdec3931c44dbf7a908 /src/gallium/drivers
parentb617bfcccfd906c638ef6c6eb5adab857e1938e5 (diff)
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 <[email protected]> Reviewed-by: Adam Jackson <[email protected]> Reviewed-by: Daniel Stone <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/swr/swr_fence.cpp4
1 files changed, 0 insertions, 4 deletions
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 <sched.h>
-#endif
-
#if defined(PIPE_CC_MSVC) // portable thread yield
#define sched_yield SwitchToThread
#endif