public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add types.h include to dasd.h
@ 2008-06-13 14:14 Edjunior Barbosa Machado
  0 siblings, 0 replies; only message in thread
From: Edjunior Barbosa Machado @ 2008-06-13 14:14 UTC (permalink / raw)
  To: linux-s390


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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-13 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13 14:14 [PATCH] add types.h include to dasd.h Edjunior Barbosa Machado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox