summaryrefslogtreecommitdiff
path: root/time/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'time/time.h')
-rw-r--r--time/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/time/time.h b/time/time.h
index e824e64b9d..d12236fdf2 100644
--- a/time/time.h
+++ b/time/time.h
@@ -48,8 +48,10 @@ __BEGIN_DECLS
/* This is the obsolete POSIX.1-1988 name for the same constant. */
#ifdef __USE_POSIX
+#ifndef CLK_TCK
#define CLK_TCK CLOCKS_PER_SEC
#endif
+#endif
#endif /* <time.h> included. */