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>
#include "virstring.h"
#include "virsocket.h"
-#ifdef HAVE_NET_IF
+#ifdef HAVE_NET_IF_H
# include <net/if.h>
#endif
#ifndef WIN32
# include <sys/ioctl.h>
#endif
-#ifdef HAVE_NET_IF
+#ifdef HAVE_NET_IF_H
# include <net/if.h>
#endif
#include <fcntl.h>