From 630c375fe93abb7de8362cc4f092c4aa08d2fdc2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 3 Feb 2010 11:06:23 +0000 Subject: [PATCH] trace: Include the appropriate header instead of defining prototypes. Avoids header when the header was included before. --- src/gallium/drivers/trace/tr_rbug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/trace/tr_rbug.c b/src/gallium/drivers/trace/tr_rbug.c index 0546aad9b50..d66a75c6c87 100644 --- a/src/gallium/drivers/trace/tr_rbug.c +++ b/src/gallium/drivers/trace/tr_rbug.c @@ -46,7 +46,7 @@ #if defined(PIPE_SUBSYSTEM_WINDOWS_USER) # define sleep Sleep #elif defined(PIPE_OS_LINUX) || defined(PIPE_OS_APPLE) -void usleep(int); +# include # define sleep usleep #else # warning "No socket implementation" -- 2.30.2