From e1178d55c6eba6ec05e08f2557e2bad01a56cd41 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Tue, 1 Sep 2020 14:21:41 +0200 Subject: [PATCH] util: Check for HAVE_NET_IF_H correctly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Ján Tomko --- 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 #endif diff --git a/src/util/virnetdevtap.c b/src/util/virnetdevtap.c index 9f5e535180..f06c6e691e 100644 --- a/src/util/virnetdevtap.c +++ b/src/util/virnetdevtap.c @@ -36,7 +36,7 @@ #ifndef WIN32 # include #endif -#ifdef HAVE_NET_IF +#ifdef HAVE_NET_IF_H # include #endif #include