Make it actually compile on Solaris.
[oota-llvm.git] / lib / System / Unix / TimeValue.inc
index 6b476c86cad3003a8b5e21b346c34403f902cf92..d140af9add79b52e9ef98f1d0f357bb1e873ddb0 100644 (file)
@@ -37,7 +37,7 @@ std::string TimeValue::toString() {
 
 TimeValue TimeValue::now() {
   struct timeval the_time;
-  ::timerclear(&the_time);
+  timerclear(&the_time);
   if (0 != ::gettimeofday(&the_time,0)) 
     ThrowErrno("Couldn't obtain time of day");