summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-30 20:14:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-30 20:14:59 +0000
commitb046040bd6f323b214dbeee9767db7644cf3a6bd (patch)
tree57aa982a02e6b1edf452a3ed3c815630d23eb34b
parent9a69e00baa397f94a4529317507b74487c69dc7d (diff)
downloadmaster-31e0f0ae-b046040bd6f323b214dbeee9767db7644cf3a6bd.tar.gz
master-31e0f0ae-b046040bd6f323b214dbeee9767db7644cf3a6bd.tar.bz2
master-31e0f0ae-b046040bd6f323b214dbeee9767db7644cf3a6bd.zip
perf: include asm/unistd.h instead of syscall.h to fix conflict with kernel headers
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48573
-rw-r--r--package/devel/perf/musl-compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/devel/perf/musl-compat.h b/package/devel/perf/musl-compat.h
index 458915d5eb..8ce97bea88 100644
--- a/package/devel/perf/musl-compat.h
+++ b/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