[sheepdog] [PATCH v2 1/3] util: clean work.h

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Fri Jul 19 07:52:16 CEST 2013


work.h depends on external stuff like linked list, gettid(), etc. So
including work.h directly causes compile errors. This patch fixes this
problem.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
---
 include/work.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/work.h b/include/work.h
index 3349ee2..6c81436 100644
--- a/include/work.h
+++ b/include/work.h
@@ -3,6 +3,9 @@
 
 #include <stdbool.h>
 
+#include "list.h"
+#include "util.h"
+
 struct work;
 
 typedef void (*work_func_t)(struct work *);
-- 
1.7.10.4




More information about the sheepdog mailing list