aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/time-accounts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/time-accounts.c b/src/time-accounts.c
index 2ff22d6c..d3e989fa 100644
--- a/src/time-accounts.c
+++ b/src/time-accounts.c
@@ -40,6 +40,10 @@
#define MAX_ACCOUNTS 256
+#ifndef CLOCK_MONOTONIC_RAW
+#define CLOCK_MONOTONIC_RAW (CLOCK_MONOTONIC)
+#endif
+
struct _timeaccounts
{
enum timeaccount accs[MAX_ACCOUNTS];