Explorar o código

[S390] add types.h include to s390_ext.h

The header file for external interrupts uses the _u16 type. Make sure
that _u16 is defined by including linux/types.h. This prevents compile
failures, if asm/s390_ext.h is the first include file.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Christian Borntraeger %!s(int64=18) %!d(string=hai) anos
pai
achega
cb1863a461
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/asm-s390/s390_ext.h

+ 2 - 0
include/asm-s390/s390_ext.h

@@ -10,6 +10,8 @@
  *               Martin Schwidefsky (schwidefsky@de.ibm.com)
  */
 
+#include <linux/types.h>
+
 typedef void (*ext_int_handler_t)(__u16 code);
 
 /*