include sched.h to get sched_yield() prototype

This commit is contained in:
Brian Paul 2004-01-18 17:19:05 +00:00
parent 97fcc0e77b
commit ef77464a7a

View file

@ -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 { \