diff options
author | weidai <weidai11@users.noreply.github.com> | 2007-05-05 02:15:11 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2007-05-05 02:15:11 +0000 |
commit | d2f4175c59c6eed8502b45b3ec2074b2b34f6f67 (patch) | |
tree | 8057070d790d4738b0145430b88557c6236a2456 /hrtimer.h | |
parent | 64157fa5e000124c0ff5011bcbc7d6479895a68b (diff) | |
download | cryptopp-git-d2f4175c59c6eed8502b45b3ec2074b2b34f6f67.tar.gz |
fix compile with Sun CC
Diffstat (limited to 'hrtimer.h')
-rw-r--r-- | hrtimer.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,6 +2,9 @@ #define CRYPTOPP_HRTIMER_H #include "config.h" +#ifndef HIGHRES_TIMER_AVAILABLE +#include <time.h> +#endif NAMESPACE_BEGIN(CryptoPP) @@ -12,7 +15,6 @@ NAMESPACE_BEGIN(CryptoPP) typedef word32 TimerWord; #endif #else - #include <time.h> typedef clock_t TimerWord; #endif |