diff options
Diffstat (limited to 'libc/src/time/linux/clock.cpp')
| -rw-r--r-- | libc/src/time/linux/clock.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/time/linux/clock.cpp b/libc/src/time/linux/clock.cpp index 2c1eee8e5d60..f43e1bcad6a3 100644 --- a/libc/src/time/linux/clock.cpp +++ b/libc/src/time/linux/clock.cpp @@ -10,11 +10,12 @@ #include "hdr/time_macros.h" #include "src/__support/CPP/limits.h" #include "src/__support/common.h" +#include "src/__support/macros/config.h" #include "src/__support/time/linux/clock_gettime.h" #include "src/__support/time/units.h" #include "src/errno/libc_errno.h" -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { LLVM_LIBC_FUNCTION(clock_t, clock, ()) { using namespace time_units; @@ -43,4 +44,4 @@ LLVM_LIBC_FUNCTION(clock_t, clock, ()) { ts.tv_nsec / (1_s_ns / CLOCKS_PER_SEC)); } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
