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 458915d..8ce97be 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