Re: [PATCH] add include list.h in binfmts.h

From: Andrew Morton
Date: Mon Nov 10 2008 - 19:12:56 EST


On Wed, 29 Oct 2008 18:03:26 -0700
Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx> wrote:

> From: Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>
>
> linux_binfmt uses list_head, so list.h is needed.
>
> Signed-off-by: Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>
> ---
> include/linux/binfmts.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h
> index 7394b5b..06c1123 100644
> --- a/include/linux/binfmts.h
> +++ b/include/linux/binfmts.h
> @@ -1,6 +1,7 @@
> #ifndef _LINUX_BINFMTS_H
> #define _LINUX_BINFMTS_H
>
> +#include <linux/list.h>
> #include <linux/capability.h>
>
> struct pt_regs;

Did this fix a build error which you were seeing?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/