Fix: time redefinition warnings on macOS builds
[lttng-tools.git] / src / bin / lttng-sessiond / ust-metadata.c
index 49edb1711254bf9475ddc74f9432aec0e0a38312..c1a80c746847a3161f28c143c487f5ccfcde194f 100644 (file)
@@ -28,6 +28,7 @@
 #include <unistd.h>
 #include <inttypes.h>
 #include <common/common.h>
+#include <common/time.h>
 
 #include "ust-registry.h"
 #include "ust-clock.h"
@@ -37,7 +38,6 @@
 #define max_t(type, a, b)      ((type) ((a) > (b) ? (a) : (b)))
 #endif
 
-#define NSEC_PER_SEC                   1000000000ULL
 #define NR_CLOCK_OFFSET_SAMPLES                10
 
 struct offset_sample {
This page took 0.023108 seconds and 4 git commands to generate.