aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel
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
parent9a69e00baa397f94a4529317507b74487c69dc7d (diff)
downloadupstream-b046040bd6f323b214dbeee9767db7644cf3a6bd.tar.gz
upstream-b046040bd6f323b214dbeee9767db7644cf3a6bd.tar.bz2
upstream-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
Diffstat (limited to 'package/devel')
-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