summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/pipebuffer
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-08-25 11:29:39 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-08-25 11:29:39 -0600
commitfd06d01b80fd9b2924682686e943d819bfcf027b (patch)
tree37b9ecd3e4b721f7b8cf976f8810292b6cecaa43 /src/gallium/auxiliary/pipebuffer
parent85813e36f2646e00ac163fb6e6e78e1d2f73eb34 (diff)
gallium: include <sched.h> on linux to get sched_yield() proto
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer')
-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 8ae052e875..410d336fef 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"