[PATCH] fixup! workqueues: Add support for delayed work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx>
---
 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
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux