diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-01-18 17:19:05 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-01-18 17:19:05 +0000 |
commit | ef77464a7ab966996a7d07649d2e381713c904c9 (patch) | |
tree | 88d46a2a22118db1bf93207dcad7f6d48cedf33d /src/mesa/drivers/dri/common | |
parent | 97fcc0e77b55f2d11a4fe34fbe71605d0550e6c8 (diff) |
include sched.h to get sched_yield() prototype
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r-- | src/mesa/drivers/dri/common/vblank.h | 1 |
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 d460d7a84a..718ecd7b1f 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 { \ |