summaryrefslogtreecommitdiffstats
path: root/src/clocks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/clocks.h')
-rw-r--r--src/clocks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clocks.h b/src/clocks.h
index 197b5431f..ca5715254 100644
--- a/src/clocks.h
+++ b/src/clocks.h
@@ -55,6 +55,8 @@ typedef usec_t heartbeat_t;
#define USEC_PER_SEC 1000000ULL
#define MSEC_PER_SEC 1000ULL
+#define USEC_PER_MS 1000ULL
+
#ifndef HAVE_CLOCK_GETTIME
/* Fallback function for POSIX.1-2001 clock_gettime() function.
*