summaryrefslogtreecommitdiff
path: root/src/shared/time-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/time-util.h')
-rw-r--r--src/shared/time-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/time-util.h b/src/shared/time-util.h
index 913821a6bd..96f2ec8fa3 100644
--- a/src/shared/time-util.h
+++ b/src/shared/time-util.h
@@ -27,6 +27,9 @@
typedef uint64_t usec_t;
typedef uint64_t nsec_t;
+#define NSEC_FMT "%" PRIu64
+#define USEC_FMT "%" PRIu64
+
#include "macro.h"
typedef struct dual_timestamp {