瀏覽代碼

perf: fix build with musl on PowerPC

Signed-off-by: Matthias Schiffer <[email protected]>
Matthias Schiffer 9 年之前
父節點
當前提交
376944c0ab
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      package/devel/perf/musl-include/asm/errno.h

+ 8 - 0
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