From: Natanael Copa Date: Thu, 22 Nov 2012 12:28:08 +0000 (+0100) Subject: build: trivial fix error: implicit declaration of function 'malloc' X-Git-Tag: CVE-2012-3411~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89ad205f3211185c22629ac7abd73ca7f4353c91;p=thirdparty%2Flibvirt.git build: trivial fix error: implicit declaration of function 'malloc' Fixes this error when building with -Werror on Alpine Linux: util/processinfo.c: In function 'virProcessInfoSetAffinity': util/processinfo.c:52:5: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] Signed-off-by: Natanael Copa --- diff --git a/src/util/processinfo.c b/src/util/processinfo.c index c3648d4b07..b8c60eb1d5 100644 --- a/src/util/processinfo.c +++ b/src/util/processinfo.c @@ -21,6 +21,7 @@ #include +#include #include #include "processinfo.h"