]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Check for HAVE_NET_IF_H correctly
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 1 Sep 2020 12:21:41 +0000 (14:21 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 2 Sep 2020 08:28:10 +0000 (10:28 +0200)
commite1178d55c6eba6ec05e08f2557e2bad01a56cd41
tree78556a4e0fe25bbbbcb8687fc362184f3760f609
parent69e3381626106b08b907ddd33ce3eee6bb26bad3
util: Check for HAVE_NET_IF_H correctly

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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virnetdevbridge.c
src/util/virnetdevtap.c