mirror of https://gitee.com/openkylin/libvirt.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 <ncopa@alpinelinux.org>
This commit is contained in:
parent
a615833664
commit
89ad205f32
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <sched.h>
|
||||
|
||||
#include "processinfo.h"
|
||||
|
|
Loading…
Reference in New Issue