Browse Source

include sched.h to get sched_yield() prototype

tags/R300_DRIVER_0
Brian Paul 22 years ago
parent
commit
ef77464a7a
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/mesa/drivers/dri/common/vblank.h

+ 1
- 0
src/mesa/drivers/dri/common/vblank.h 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 { \

Loading…
Cancel
Save