Skip to contentSkip to conversation

add types.h include to dasd.h

PATCH New Edjunior Barbosa Machado 1 participant 1 message Jun 13, 2008 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/asm-s390/dasd.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/asm-s390/dasd.h +1 -0
index 3f002e1..d5a191a 100644
@@ -13,6 +13,7 @@
 #ifndef DASD_H
 #define DASD_H
 #include <linux/ioctl.h>
+#include <linux/types.h>
 
 #define DASD_IOCTL_LETTER 'D'
 
Signature · 3 lines
Edjunior Barbosa Machado
IBM Linux Technology Center
Linux Defect Support Team