From 86ae8ce238156a4bb9ba0aeda82bb50c60e74ea8 Mon Sep 17 00:00:00 2001 From: Paul Kilar Date: Mon, 14 Jul 2014 11:14:11 -0400 Subject: testing/ipmiutil: patch to compile with musl --- testing/ipmiutil/fixups.patch | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 testing/ipmiutil/fixups.patch (limited to 'testing/ipmiutil/fixups.patch') diff --git a/testing/ipmiutil/fixups.patch b/testing/ipmiutil/fixups.patch new file mode 100644 index 000000000..dea7adae0 --- /dev/null +++ b/testing/ipmiutil/fixups.patch @@ -0,0 +1,33 @@ +--- a/util/imb_api.h ++++ b/util/imb_api.h +@@ -49,8 +49,8 @@ + /* DOS defines wchar_t in stdlib.h */ + #else + // defined(LINUX) | defined(SOLARIS) +-#ifndef _WCHAR_T +-#define _WCHAR_T ++#ifndef __DEFINED_wchar_t ++#define __DEFINED_wchar_t + typedef long wchar_t; + #endif + #endif +--- a/util/mem_if.c ++++ b/util/mem_if.c +@@ -65,6 +65,7 @@ + #include + #include + #include ++#include + #endif + #if defined(SOLARIS) || defined(BSD) + #define EXEC_PAGESIZE 4096 +--- a/util/ipmimv.c ++++ b/util/ipmimv.c +@@ -62,6 +62,7 @@ + #include + #include + #include ++#include + #if defined(MACOS) + #include + #else -- cgit v1.2.3