gettime: use proper uint64_t types where needed
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index f44273f483c59103ece4a3d4681496e663698f66..24af397a414d27669c6aa7874d3d5170737ea0c2 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -79,6 +79,10 @@ int main(int argc, char *argv[], char *envp[])
                return 1;
        }
 
+#if !defined(CONFIG_GETTIMEOFDAY) && !defined(CONFIG_CLOCK_GETTIME)
+#error "No available clock source!"
+#endif
+
        arch_init(envp);
 
        sinit();