aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tm_posix/tm_posix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tm_posix/tm_posix.cpp')
-rw-r--r--modules/tm_posix/tm_posix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tm_posix/tm_posix.cpp b/modules/tm_posix/tm_posix.cpp
index 7a6b667c4..e5e1f3f93 100644
--- a/modules/tm_posix/tm_posix.cpp
+++ b/modules/tm_posix/tm_posix.cpp
@@ -23,8 +23,8 @@ namespace Botan {
*************************************************/
u64bit POSIX_Timer::clock() const
{
- struct timespec tv;
- clock_gettime(CLOCK_REALTIME, &tv);
+ struct ::timespec tv;
+ ::clock_gettime(CLOCK_REALTIME, &tv);
return combine_timers(tv.tv_sec, tv.tv_nsec, 1000000000);
}