Clean-up: modernize pretty_xml.cpp
[lttng-tools.git] / tests / utils / utils.h
index 87b4918def3a9960a230b4ace04ad71b56007128..802743ec1fd32fc3c6c5c420ac058c9181dc132c 100644 (file)
@@ -8,6 +8,7 @@
 #ifndef TEST_UTILS_H
 #define TEST_UTILS_H
 
+#include <sys/types.h>
 #include <unistd.h>
 
 #if defined(__cplusplus)
@@ -42,7 +43,7 @@ extern "C" {
 int usleep_safe(useconds_t usec);
 int create_file(const char *path);
 int wait_on_file(const char *path);
-
+int64_t elapsed_time_ns(struct timespec *t1, struct timespec *t2);
 #if defined(__cplusplus)
 }
 #endif
This page took 0.023527 seconds and 4 git commands to generate.