[sheepdog] [PATCH v3 1/3] util: clean work.h
Liu Yuan
namei.unix at gmail.com
Fri Jul 19 14:32:50 CEST 2013
On Fri, Jul 19, 2013 at 03:18:22PM +0900, Hitoshi Mitake wrote:
> 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 *);
Applied this one thanks
Yuan
More information about the sheepdog
mailing list