summaryrefslogtreecommitdiff
path: root/src/libudev/time-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/time-util.h')
-rw-r--r--src/libudev/time-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libudev/time-util.h b/src/libudev/time-util.h
index 0f7f6964ee..458994d40f 100644
--- a/src/libudev/time-util.h
+++ b/src/libudev/time-util.h
@@ -24,6 +24,8 @@
typedef uint64_t usec_t;
typedef uint64_t nsec_t;
+#define USEC_FMT "%" PRIu64
+
typedef struct dual_timestamp {
usec_t realtime;
usec_t monotonic;