mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 03:50:32 +01:00
trace: Include the appropriate header instead of defining prototypes.
Avoids header when the header was included before.
This commit is contained in:
parent
aa8b49c9ca
commit
630c375fe9
1 changed files with 1 additions and 1 deletions
|
|
@ -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 <unistd.h>
|
||||
# define sleep usleep
|
||||
#else
|
||||
# warning "No socket implementation"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue