From: Brian Paul Date: Sun, 18 Jan 2004 17:19:05 +0000 (+0000) Subject: include sched.h to get sched_yield() prototype X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef77464a7ab966996a7d07649d2e381713c904c9;p=mesa.git include sched.h to get sched_yield() prototype --- 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 /* for usleep() */ +#include /* for sched_yield() */ #define DO_USLEEP(nr) \ do { \