summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-01-18 17:19:05 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-01-18 17:19:05 +0000
commitef77464a7ab966996a7d07649d2e381713c904c9 (patch)
tree88d46a2a22118db1bf93207dcad7f6d48cedf33d /src/mesa
parent97fcc0e77b55f2d11a4fe34fbe71605d0550e6c8 (diff)
include sched.h to get sched_yield() prototype
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/common/vblank.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/vblank.h b/src/mesa/drivers/dri/common/vblank.h
index d460d7a84ad..718ecd7b1f3 100644
--- a/src/mesa/drivers/dri/common/vblank.h
+++ b/src/mesa/drivers/dri/common/vblank.h
@@ -53,6 +53,7 @@ extern int driWaitForVBlank( const __DRIdrawablePrivate *priv,
#undef usleep
#include <unistd.h> /* for usleep() */
+#include <sched.h> /* for sched_yield() */
#define DO_USLEEP(nr) \
do { \