perf: fix build with musl on PowerPC
authorMatthias Schiffer <mschiffer@universe-factory.net>
Wed, 28 Sep 2016 04:14:09 +0000 (06:14 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Wed, 28 Sep 2016 04:26:35 +0000 (06:26 +0200)
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
package/devel/perf/musl-include/asm/errno.h [new file with mode: 0644]

diff --git a/package/devel/perf/musl-include/asm/errno.h b/package/devel/perf/musl-include/asm/errno.h
new file mode 100644 (file)
index 0000000..8c4b1be
--- /dev/null
@@ -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