[CRIU] [PATCH] zdtm: sched_prio -- Add missing headers

Pavel Emelyanov xemul at parallels.com
Mon Jan 21 08:32:32 EST 2013


On 01/21/2013 04:33 PM, Cyrill Gorcunov wrote:
> On glibc-2.16 I'm getting
> 
>  | sched_prio00.c: In function ‘main’:
>  | sched_prio00.c:48:3: error: implicit declaration of function ‘setpriority’ [-Werror=implicit-function-declaration]
>  | sched_prio00.c:48:19: error: ‘PRIO_PROCESS’ undeclared (first use in this function)
>  | sched_prio00.c:48:19: note: each undeclared identifier is reported only once for each function it appears in
>  | sched_prio00.c:60:3: error: implicit declaration of function ‘getpriority’ [-Werror=implicit-function-declaration]
> 
> fix it adding headers needed.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>

Applied


More information about the CRIU mailing list