diff options
Diffstat (limited to 'libc/sysdeps/linux/arm/ioperm.c')
-rw-r--r-- | libc/sysdeps/linux/arm/ioperm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/ioperm.c b/libc/sysdeps/linux/arm/ioperm.c index a7f6c3067..0e283cbac 100644 --- a/libc/sysdeps/linux/arm/ioperm.c +++ b/libc/sysdeps/linux/arm/ioperm.c @@ -50,6 +50,8 @@ #include <linux/version.h> +#ifdef __NR_ioperm + #define PATH_ARM_SYSTYPE "/etc/arm_systype" #define PATH_CPUINFO "/proc/cpuinfo" @@ -244,3 +246,5 @@ inl(unsigned long int port) { return *((__volatile__ unsigned long *)(IO_ADDR (port))); } + +#endif |