summaryrefslogtreecommitdiff
path: root/package/devel/perf/musl-compat.h
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 /package/devel/perf/musl-compat.h
parent9a69e00baa397f94a4529317507b74487c69dc7d (diff)
downloadmtk-20170518-b046040bd6f323b214dbeee9767db7644cf3a6bd.zip
mtk-20170518-b046040bd6f323b214dbeee9767db7644cf3a6bd.tar.gz
mtk-20170518-b046040bd6f323b214dbeee9767db7644cf3a6bd.tar.bz2
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
Diffstat (limited to 'package/devel/perf/musl-compat.h')
-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 458915d..8ce97be 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