Commit 8d1a0a13 authored by Anders Larsen's avatar Anders Larsen Committed by Sam Ravnborg

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: default avatarAnders Larsen <al@alarsen.net>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent ede6f5ae
...@@ -2,14 +2,12 @@ ...@@ -2,14 +2,12 @@
* Name : qnx4_fs.h * Name : qnx4_fs.h
* Author : Richard Frowijn * Author : Richard Frowijn
* Function : qnx4 global filesystem definitions * Function : qnx4 global filesystem definitions
* Version : 1.0.2
* Last modified : 2000-01-31
*
* History : 23-03-1998 created * History : 23-03-1998 created
*/ */
#ifndef _LINUX_QNX4_FS_H #ifndef _LINUX_QNX4_FS_H
#define _LINUX_QNX4_FS_H #define _LINUX_QNX4_FS_H
#include <linux/types.h>
#include <linux/qnxtypes.h> #include <linux/qnxtypes.h>
#include <linux/magic.h> #include <linux/magic.h>
......
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
* Name : qnxtypes.h * Name : qnxtypes.h
* Author : Richard Frowijn * Author : Richard Frowijn
* Function : standard qnx types * Function : standard qnx types
* Version : 1.0.2
* Last modified : 2000-01-06
*
* History : 22-03-1998 created * History : 22-03-1998 created
* *
*/ */
...@@ -12,6 +9,8 @@ ...@@ -12,6 +9,8 @@
#ifndef _QNX4TYPES_H #ifndef _QNX4TYPES_H
#define _QNX4TYPES_H #define _QNX4TYPES_H
#include <linux/types.h>
typedef __le16 qnx4_nxtnt_t; typedef __le16 qnx4_nxtnt_t;
typedef __u8 qnx4_ftype_t; typedef __u8 qnx4_ftype_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment