diff options
Diffstat (limited to 'src/mesa')
-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 { \ |