From ef77464a7ab966996a7d07649d2e381713c904c9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 18 Jan 2004 17:19:05 +0000 Subject: include sched.h to get sched_yield() prototype --- src/mesa/drivers/dri/common/vblank.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa') 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 /* for usleep() */ +#include /* for sched_yield() */ #define DO_USLEEP(nr) \ do { \ -- cgit v1.2.3