Commit 8d1a0a13edecfdcb47fee3238ed4a2af2a2867f9
Committed by
Sam Ravnborg
1 parent
ede6f5aea0
Exists in
master
and in
39 other branches
qnx: include <linux/types.h> for definitions of __[us]{8,16,32,64} types
On 2008-12-30 11:32:33, Sam Ravnborg wrote: > We have added a few additional validation checks of the userspace headers: ... > 3) We should include <linux/types.h> and not <asm/types.h> > 4) If we use a __[us]{8,16,32,64} type then we must include <linux/types.h> Satisfy these requirements for the linux/qnx*.h headers. Signed-off-by: Anders Larsen <al@alarsen.net> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Showing 2 changed files with 3 additions and 6 deletions Side-by-side Diff
include/linux/qnx4_fs.h
... | ... | @@ -2,14 +2,12 @@ |
2 | 2 | * Name : qnx4_fs.h |
3 | 3 | * Author : Richard Frowijn |
4 | 4 | * Function : qnx4 global filesystem definitions |
5 | - * Version : 1.0.2 | |
6 | - * Last modified : 2000-01-31 | |
7 | - * | |
8 | 5 | * History : 23-03-1998 created |
9 | 6 | */ |
10 | 7 | #ifndef _LINUX_QNX4_FS_H |
11 | 8 | #define _LINUX_QNX4_FS_H |
12 | 9 | |
10 | +#include <linux/types.h> | |
13 | 11 | #include <linux/qnxtypes.h> |
14 | 12 | #include <linux/magic.h> |
15 | 13 |
include/linux/qnxtypes.h
... | ... | @@ -2,15 +2,14 @@ |
2 | 2 | * Name : qnxtypes.h |
3 | 3 | * Author : Richard Frowijn |
4 | 4 | * Function : standard qnx types |
5 | - * Version : 1.0.2 | |
6 | - * Last modified : 2000-01-06 | |
7 | - * | |
8 | 5 | * History : 22-03-1998 created |
9 | 6 | * |
10 | 7 | */ |
11 | 8 | |
12 | 9 | #ifndef _QNX4TYPES_H |
13 | 10 | #define _QNX4TYPES_H |
11 | + | |
12 | +#include <linux/types.h> | |
14 | 13 | |
15 | 14 | typedef __le16 qnx4_nxtnt_t; |
16 | 15 | typedef __u8 qnx4_ftype_t; |