There are two places where we try to check whether the host system has net/if.h before including it. But the check is missing '_H' suffix. Fixes: 7f3eb533f44742071366e07a35ab41070956707b Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- src/util/virnetdevbridge.c | 2 +- src/util/virnetdevtap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/virnetdevbridge.c b/src/util/virnetdevbridge.c index 8ce1a07c41..ccac97e8d0 100644 --- a/src/util/virnetdevbridge.c +++ b/src/util/virnetdevbridge.c @@ -27,7 +27,7 @@ #include "virstring.h" #include "virsocket.h" -#ifdef HAVE_NET_IF +#ifdef HAVE_NET_IF_H # include <net/if.h> #endif diff --git a/src/util/virnetdevtap.c b/src/util/virnetdevtap.c index c0a7c3019e..931be9e36d 100644 --- a/src/util/virnetdevtap.c +++ b/src/util/virnetdevtap.c @@ -36,7 +36,7 @@ #ifndef WIN32 # include <sys/ioctl.h> #endif -#ifdef HAVE_NET_IF +#ifdef HAVE_NET_IF_H # include <net/if.h> #endif #include <fcntl.h> -- 2.26.2