Browse Source

perf: include asm/unistd.h instead of syscall.h to fix conflict with kernel headers

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 48573
Felix Fietkau 9 years ago
parent
commit
b046040bd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/devel/perf/musl-compat.h

+ 1 - 1
package/devel/perf/musl-compat.h

@@ -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