diff options
author | nobled <[email protected]> | 2010-07-18 16:08:19 +0000 |
---|---|---|
committer | Jon TURNEY <[email protected]> | 2011-04-27 11:35:02 +0100 |
commit | 39cd791f3428ab48723fd4c73c4b1223e883ab2d (patch) | |
tree | 92ac4b51a9346533bab64df43125623bbfbe7a27 /src | |
parent | 2d422a6c48e9c79209eb17c4b0bb21c3c0a17468 (diff) |
os: simplify ifdef
The actual code that needs this include is just using
"if defined (PIPE_OS_UNIX)", and the two conditions should match.
This should also make the file compile under Hurd.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/os/os_time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/os/os_time.c b/src/gallium/auxiliary/os/os_time.c index 84907215fe6..325f316784c 100644 --- a/src/gallium/auxiliary/os/os_time.c +++ b/src/gallium/auxiliary/os/os_time.c @@ -37,7 +37,7 @@ #if !defined(PIPE_OS_EMBEDDED) -#if defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) || defined(PIPE_OS_SOLARIS) || defined(PIPE_OS_APPLE) || defined(PIPE_OS_HAIKU) || defined(PIPE_OS_CYGWIN) +#if defined(PIPE_OS_UNIX) # include <sys/time.h> /* timeval */ #elif defined(PIPE_SUBSYSTEM_WINDOWS_DISPLAY) # include <windows.h> |