summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-08-25 11:29:39 -0600
committerBrian <[email protected]>2008-08-25 11:29:39 -0600
commitfd06d01b80fd9b2924682686e943d819bfcf027b (patch)
tree37b9ecd3e4b721f7b8cf976f8810292b6cecaa43 /src
parent85813e36f2646e00ac163fb6e6e78e1d2f73eb34 (diff)
gallium: include <sched.h> on linux to get sched_yield() proto
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
index 8ae052e8750..410d336fefc 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
+++ b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
@@ -38,6 +38,7 @@
#if defined(PIPE_OS_LINUX)
#include <unistd.h>
+#include <sched.h>
#endif
#include "pipe/p_compiler.h"