Otherwise, we run into a compile error, because get_time_ns() is used
below without declaration.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 include/work.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/work.h b/include/work.h
index 7ae596760a8b..0785bb3a8818 100644
--- a/include/work.h
+++ b/include/work.h
@@ -2,6 +2,7 @@
 #define __WORK_H
 
 #include <linux/list.h>
+#include <clock.h>
 
 struct work_struct {
        struct list_head list;
-- 
2.28.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to