perf: include asm/unistd.h instead of syscall.h to fix conflict with kernel headers
authorFelix Fietkau <nbd@openwrt.org>
Sat, 30 Jan 2016 20:14:59 +0000 (20:14 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 30 Jan 2016 20:14:59 +0000 (20:14 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48573

package/devel/perf/musl-compat.h

index 458915d5eb85106b62a8943330a68c0b8be258e3..8ce97bea88091f69c2105745c778509502b927a0 100644 (file)
@@ -4,9 +4,9 @@
 #ifndef __ASSEMBLER__
 
 #include <sys/ioctl.h>
+#include <asm/unistd.h>
 #include <unistd.h>
 #include <stdio.h>
-#include <syscall.h>
 #include <sched.h>
 
 #undef _IOWR