lkml.org 
[lkml]   [2008]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] add types.h include to dasd.h

dasd.h uses __u16 and __u8 types but doesn't include linux/types.h.
It fixes probable compiler errors if dasd.h is the first/unique included file.
Thanks.

Signed-off-by: Edjunior B. Machado <emachado@linux.vnet.ibm.com>
---
include/asm-s390/dasd.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/asm-s390/dasd.h b/include/asm-s390/dasd.h
index 3f002e1..d5a191a 100644
--- a/include/asm-s390/dasd.h
+++ b/include/asm-s390/dasd.h
@@ -13,6 +13,7 @@
#ifndef DASD_H
#define DASD_H
#include <linux/ioctl.h>
+#include <linux/types.h>

#define DASD_IOCTL_LETTER 'D'

--
Edjunior Barbosa Machado
IBM Linux Technology Center
Linux Defect Support Team


\
 
 \ /
  Last update: 2008-07-02 20:39    [W:0.026 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site