From cd208b0037c60da625fdd1f6a1459bc37115aacd Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 3 Jul 2016 17:07:30 +0200 Subject: [PATCH] fix FIOQSIZE in arm ioctl.h arm ioctl.h is the same as the generic one except this macro, so a workaround solution is used to avoid another ioctl.h copy. --- arch/arm/bits/ioctl_fix.h | 2 ++ arch/generic/bits/ioctl.h | 2 ++ arch/generic/bits/ioctl_fix.h | 0 3 files changed, 4 insertions(+) create mode 100644 arch/arm/bits/ioctl_fix.h create mode 100644 arch/generic/bits/ioctl_fix.h diff --git a/arch/arm/bits/ioctl_fix.h b/arch/arm/bits/ioctl_fix.h new file mode 100644 index 00000000..ebb383da --- /dev/null +++ b/arch/arm/bits/ioctl_fix.h @@ -0,0 +1,2 @@ +#undef FIOQSIZE +#define FIOQSIZE 0x545e diff --git a/arch/generic/bits/ioctl.h b/arch/generic/bits/ioctl.h index 668d467e..c2035fc5 100644 --- a/arch/generic/bits/ioctl.h +++ b/arch/generic/bits/ioctl.h @@ -200,3 +200,5 @@ struct winsize { #define SIOCDEVPRIVATE 0x89F0 #define SIOCPROTOPRIVATE 0x89E0 + +#include diff --git a/arch/generic/bits/ioctl_fix.h b/arch/generic/bits/ioctl_fix.h new file mode 100644 index 00000000..e69de29b -- 2.25.1