oslib: make str* compat functions more uniform
[fio.git] / fio_time.h
index 3a5848e7a1da06c5260db3c35d8e08c68ce560a0..39fb17ba245caee553ccec82924685fee3fc9dda 100644 (file)
@@ -1,10 +1,15 @@
 #ifndef FIO_TIME_H
 #define FIO_TIME_H
 
+#include <stdint.h>
+#include <time.h>
+#include <sys/time.h>
 #include "lib/types.h"
 
 struct thread_data;
-extern uint64_t utime_since(const struct timespec *,const  struct timespec *);
+extern uint64_t ntime_since(const struct timespec *, const struct timespec *);
+extern uint64_t ntime_since_now(const struct timespec *);
+extern uint64_t utime_since(const struct timespec *, const struct timespec *);
 extern uint64_t utime_since_now(const struct timespec *);
 extern uint64_t mtime_since(const struct timespec *, const struct timespec *);
 extern uint64_t mtime_since_now(const struct timespec *);