summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2004-05-07 15:24:32 (GMT)
committerKen Martin <ken.martin@kitware.com>2004-05-07 15:24:32 (GMT)
commitc1d9c2ce9c9f803a77bff88dd6505aad171178c8 (patch)
treee519c7a00de61533bb06d7a0f1f151d84ac3ca38 /Source/cmCTest.cxx
parent840339e2ed9c1a0ab035a5013799c81a472bc0a6 (diff)
downloadCMake-c1d9c2ce9c9f803a77bff88dd6505aad171178c8.zip
CMake-c1d9c2ce9c9f803a77bff88dd6505aad171178c8.tar.gz
CMake-c1d9c2ce9c9f803a77bff88dd6505aad171178c8.tar.bz2
missing header for unix
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 88cc4aa..f362185 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -35,6 +35,11 @@
#include <math.h>
#include <float.h>
+// needed for sleep
+#if !defined(_WIN32)
+# include <unistd.h>
+#endif
+
#include <memory> // auto_ptr
#define SAFEDIV(x,y) (((y)!=0)?((x)/(y)):(0))