[dpdk-dev] [PATCH 14/15] net/netvsc: fix compile warning for fcntl.h include

Stephen Hemminger stephen at networkplumber.org
Mon Mar 11 19:17:15 CET 2019


On Mon, 11 Mar 2019 18:37:01 +0100
Natanael Copa <ncopa at alpinelinux.org> wrote:

> Fix the following warning when building with musl libc:
> 
> In file included from ../drivers/net/netvsc/hn_vf.c:14:
> /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Wcpp]
>  #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>
>   ^~~~~~~
> 
> Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>

Acked-by: Stephen Hemminger <sthemmin at microsoft.com>


More information about the dev mailing list