Skip to content

Commit

Permalink
unconditionally include asm/types.h from linux/types.h
Browse files Browse the repository at this point in the history
Reported-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
  • Loading branch information
Jaswinder Singh Rajput committed Feb 8, 2009
1 parent f6c7278 commit 0fb807c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/types.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef _LINUX_TYPES_H
#define _LINUX_TYPES_H

#include <asm/types.h>

#ifndef __ASSEMBLY__
#ifdef __KERNEL__

Expand All @@ -10,7 +12,6 @@
#endif

#include <linux/posix_types.h>
#include <asm/types.h>

#ifndef __KERNEL_STRICT_NAMES

Expand Down

0 comments on commit 0fb807c

Please sign in to comment.