gallium: include <sched.h> on linux to get sched_yield() proto
authorBrian <brian.paul@tungstengraphics.com>
Mon, 25 Aug 2008 17:29:39 +0000 (11:29 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 25 Aug 2008 17:29:39 +0000 (11:29 -0600)
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c

index 8ae052e..410d336 100644 (file)
@@ -38,6 +38,7 @@
 
 #if defined(PIPE_OS_LINUX)
 #include <unistd.h>
+#include <sched.h>
 #endif
 
 #include "pipe/p_compiler.h"