From 661095378b74df564bc621ced4db72b688d87399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Krause?= Date: Sat, 2 Apr 2016 19:47:21 +0200 Subject: [PATCH 3/3] Add missing linux/param.h header include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the following build failure under musl: imbapi.c: In function 'MapPhysicalMemory': imbapi.c:109:19: error: 'EXEC_PAGESIZE' undeclared (first use in this function) # define PAGESIZE EXEC_PAGESIZE Upstream status: Pending https://sourceforge.net/p/ipmitool/mailman/message/35007330/ Signed-off-by: Jörg Krause --- src/plugins/imb/imbapi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/imb/imbapi.c b/src/plugins/imb/imbapi.c index 899c47a..8a6421d 100644 --- a/src/plugins/imb/imbapi.c +++ b/src/plugins/imb/imbapi.c @@ -95,6 +95,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include #include +#ifdef __linux__ +#include +#endif #endif #include "imbapi.h" #include -- 2.8.0