Browse Source

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.
Szabolcs Nagy 8 years ago
parent
commit
cd208b0037
3 changed files with 4 additions and 0 deletions
  1. 2 0
      arch/arm/bits/ioctl_fix.h
  2. 2 0
      arch/generic/bits/ioctl.h
  3. 0 0
      arch/generic/bits/ioctl_fix.h

+ 2 - 0
arch/arm/bits/ioctl_fix.h

@@ -0,0 +1,2 @@
+#undef FIOQSIZE
+#define FIOQSIZE 0x545e

+ 2 - 0
arch/generic/bits/ioctl.h

@@ -200,3 +200,5 @@ struct winsize {
 
 #define SIOCDEVPRIVATE		0x89F0
 #define SIOCPROTOPRIVATE	0x89E0
+
+#include <bits/ioctl_fix.h>

+ 0 - 0
arch/generic/bits/ioctl_fix.h