mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
include sched.h to get sched_yield() prototype
This commit is contained in:
parent
97fcc0e77b
commit
ef77464a7a
1 changed files with 1 additions and 0 deletions
|
|
@ -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 { \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue