From 5db314f694f75c575cd7c9ffe9ee57aaf3a88866 Mon Sep 17 00:00:00 2001 From: Leonid Nevecherya Date: Tue, 17 Jan 2017 11:00:37 +0300 Subject: [PATCH 08/17] ID:474 - Compile fix on nonlinux systems This patch fixes compilation on systems without a separate . --- lib/ipmi_cfgp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ipmi_cfgp.c b/lib/ipmi_cfgp.c index b8af80d..dfc4743 100644 --- a/lib/ipmi_cfgp.c +++ b/lib/ipmi_cfgp.c @@ -30,7 +30,11 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include +#ifdef HAVE_MALLOC_H +# include +#else +# include +#endif #include #include -- 1.8.5.6