aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-09-28 06:14:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-09-28 06:26:35 +0200
commit376944c0abe4c073faab17c450c3df1b0acda626 (patch)
tree971050b69100c9a054adb7062e5c5dd5c70c526b
parent82aa061251f9efa68bea8fd4f3bcfb28d3654d5a (diff)
downloadupstream-376944c0abe4c073faab17c450c3df1b0acda626.tar.gz
upstream-376944c0abe4c073faab17c450c3df1b0acda626.tar.bz2
upstream-376944c0abe4c073faab17c450c3df1b0acda626.zip
perf: fix build with musl on PowerPC
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
-rw-r--r--package/devel/perf/musl-include/asm/errno.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/devel/perf/musl-include/asm/errno.h b/package/devel/perf/musl-include/asm/errno.h
new file mode 100644
index 0000000000..8c4b1beb52
--- /dev/null
+++ b/package/devel/perf/musl-include/asm/errno.h
@@ -0,0 +1,8 @@
+#ifndef __MUSL_COMPAT_ASM_ERRNO_H
+#define __MUSL_COMPAT_ASM_ERRNO_H
+
+/* Avoid including different versions of errno.h, the defines (incorrectly)
+ * cause a redefinition error on PowerPC */
+#include <errno.h>
+
+#endif