summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace
diff options
context:
space:
mode:
authorRobert Noland <[email protected]>2009-09-30 10:14:38 -0700
committerBrian Paul <[email protected]>2009-10-01 08:42:48 -0600
commit0b466c8705c9000c347760b5daafdf31c291736d (patch)
tree27f09e8424c763ddbde5fb741fb93b047ba286b4 /src/gallium/drivers/trace
parent908ecb3faa6345392307a1d21b3bef9d5c513f12 (diff)
util: Enable sockets on BSD
I think this should be safe for all of the BSDs. Signed-off-by: Robert Noland <[email protected]> Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/trace')
-rw-r--r--src/gallium/drivers/trace/tr_rbug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_rbug.c b/src/gallium/drivers/trace/tr_rbug.c
index e85ac15edca..81e0a6f3b00 100644
--- a/src/gallium/drivers/trace/tr_rbug.c
+++ b/src/gallium/drivers/trace/tr_rbug.c
@@ -44,7 +44,7 @@
#if defined(PIPE_SUBSYSTEM_WINDOWS_USER)
# define sleep Sleep
-#elif defined(PIPE_OS_LINUX)
+#elif defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD)
void usleep(int);
# define sleep usleep
#else