From: Szabolcs Nagy Date: Sun, 3 Jul 2016 15:07:30 +0000 (+0200) Subject: fix FIOQSIZE in arm ioctl.h X-Git-Tag: v1.1.15~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cd208b0037c60da625fdd1f6a1459bc37115aacd;p=oweals%2Fmusl.git 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. --- 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