提交 89ad205f 编写于 作者: N Natanael Copa 提交者: Eric Blake

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: NNatanael Copa <ncopa@alpinelinux.org>
上级 a6158336
......@@ -21,6 +21,7 @@
#include <config.h>
#include <stdlib.h>
#include <sched.h>
#include "processinfo.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册