diff options
author | dawes <dawes> | 2002-12-17 00:32:05 +0000 |
---|---|---|
committer | dawes <dawes> | 2002-12-17 00:32:05 +0000 |
commit | 4034fb829dd23030d00abe686c431c4779e9e8f8 (patch) | |
tree | b578d2ce639f352c7b1cb6907cf18893b2965da4 | |
parent | da3fb0377fb497d774341376e03c688615c8520f (diff) |
include <unistd.h> for usleep()mesa-4-0-4-20021215
-rw-r--r-- | xc/lib/GL/mesa/src/drv/r200/r200_ioctl.c | 3 | ||||
-rw-r--r-- | xc/lib/GL/mesa/src/drv/r200/r200_texmem.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/xc/lib/GL/mesa/src/drv/r200/r200_ioctl.c b/xc/lib/GL/mesa/src/drv/r200/r200_ioctl.c index 33b3928b7..89b3f146a 100644 --- a/xc/lib/GL/mesa/src/drv/r200/r200_ioctl.c +++ b/xc/lib/GL/mesa/src/drv/r200/r200_ioctl.c @@ -44,10 +44,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "context.h" #include "swrast/swrast.h" +#include <unistd.h> /* for usleep */ + #define R200_TIMEOUT 512 #define R200_IDLE_RETRY 16 -#undef usleep static void do_usleep( int nr, const char *caller ) { diff --git a/xc/lib/GL/mesa/src/drv/r200/r200_texmem.c b/xc/lib/GL/mesa/src/drv/r200/r200_texmem.c index fa3beede2..2a387a586 100644 --- a/xc/lib/GL/mesa/src/drv/r200/r200_texmem.c +++ b/xc/lib/GL/mesa/src/drv/r200/r200_texmem.c @@ -51,7 +51,7 @@ SOFTWARE. #include "enums.h" #include "mem.h" - +#include <unistd.h> /* for usleep */ /* Destroy hardware state associated with texture `t'. */ |