add types.h include to dasd.h
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.
Signed-off-by Edjunior B. Machado <[email protected]>
---include/asm-s390/dasd.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
include/asm-s390/dasd.h +0 -0
@@ -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