[CRIU] [PATCH 1/3] criu: don't forget to include log.h into UAPI

Pavel Emelyanov xemul at virtuozzo.com
Tue Jan 10 04:52:48 PST 2017


On 01/05/2017 03:42 PM, Ruslan Kuprieiev wrote:
> Otherwise, gcc fails to find it in system headers.

Can you elaborate? UAPI_HEADERS are those installed by make install
command for -devel package. Why do you need log.h in there?

> Signed-off-by: Ruslan Kuprieiev <rkuprieiev at cloudlinux.com>
> ---
>  criu/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/criu/Makefile b/criu/Makefile
> index 01b1d98..d18c13f 100644
> --- a/criu/Makefile
> +++ b/criu/Makefile
> @@ -108,6 +108,7 @@ mrproper: subproper
>  
>  UAPI_HEADERS := $(SRC_DIR)/criu/include/criu-plugin.h
>  UAPI_HEADERS += $(SRC_DIR)/criu/include/criu-log.h
> +UAPI_HEADERS += $(SRC_DIR)/criu/include/log.h
>  
>  install: $(obj)/criu
>  	$(E) "  INSTALL " $(obj)/criu
> 



More information about the CRIU mailing list