Skip to content

Commit

Permalink
nios2: Add types.h header required for __u32 type
Browse files Browse the repository at this point in the history
Reported by the header checker (CONFIG_HEADERS_CHECK=y):

  CHECK   usr/include/asm/ (31 files)
./usr/include/asm/ptrace.h:77: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Ezequiel Garcia <[email protected]>
Acked-by: Ley Foon Tan <[email protected]>
  • Loading branch information
ezequielgarcia authored and Ley Foon Tan committed Apr 24, 2015
1 parent baa54ab commit 2009337
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/nios2/include/uapi/asm/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#ifndef __ASSEMBLY__

#include <linux/types.h>

/*
* Register numbers used by 'ptrace' system call interface.
*/
Expand Down

0 comments on commit 2009337

Please sign in to comment.