Skip to content

Commit

Permalink
binfmts.h: include list.h
Browse files Browse the repository at this point in the history
linux_binfmt uses list_head, so list.h is needed.

[akpm@linux-foundation.org: fix `make headerscheck']
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Hiroshi Shimamoto authored and Linus Torvalds committed Jan 6, 2009
1 parent 29041b4 commit 5cf0cc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/binfmts.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ struct pt_regs;
#define BINPRM_BUF_SIZE 128

#ifdef __KERNEL__
#include <linux/list.h>

#define CORENAME_MAX_SIZE 128

Expand Down

0 comments on commit 5cf0cc4

Please sign in to comment.