diff options
author | Bernard Normier <bernard@zeroc.com> | 2008-02-23 10:47:35 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2008-02-23 10:47:35 -0500 |
commit | b8879524bd3a0067d4b09bcf71a8f7f7a28932b7 (patch) | |
tree | a86b2ae1fb4ddf0e24fd61d52986314dbfd801ff /cpp/src/IceUtil/Thread.cpp | |
parent | IceBox & TestUtil.py Win32 fix (diff) | |
download | ice-b8879524bd3a0067d4b09bcf71a8f7f7a28932b7.tar.bz2 ice-b8879524bd3a0067d4b09bcf71a8f7f7a28932b7.tar.xz ice-b8879524bd3a0067d4b09bcf71a8f7f7a28932b7.zip |
Fixed GCC 4.3 build failures
Diffstat (limited to 'cpp/src/IceUtil/Thread.cpp')
-rw-r--r-- | cpp/src/IceUtil/Thread.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/IceUtil/Thread.cpp b/cpp/src/IceUtil/Thread.cpp index 64081317ff0..55ae4847328 100644 --- a/cpp/src/IceUtil/Thread.cpp +++ b/cpp/src/IceUtil/Thread.cpp @@ -7,18 +7,19 @@ // // ********************************************************************** -#ifdef __sun // +#ifdef __sun +// // Solaris 10 bug: it's supposed to be defined in pthread.h // #ifndef __EXTENSIONS__ #define __EXTENSIONS__ #endif -#include <limits.h> #endif #include <IceUtil/Thread.h> #include <IceUtil/Time.h> #include <IceUtil/ThreadException.h> +#include <climits> using namespace std; |