From d3b6fe5f9c55bf609164dda8b15e6aacf169d803 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Tue, 9 Mar 2010 14:14:48 +0100 Subject: [PATCH] macvtap build detection fix * configure.ac: fix the header test used for macvtap availability detection --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6f4d7e4126..ab69e5228b 100644 --- a/configure.ac +++ b/configure.ac @@ -1849,7 +1849,8 @@ AC_ARG_WITH([macvtap], [with_macvtap=check]) if test "$with_macvtap" != "no" ; then - AC_TRY_COMPILE([ #include ], + AC_TRY_COMPILE([ #include + #include ], [ int x = MACVLAN_MODE_BRIDGE; ], [ with_macvtap=yes ], [ if test "$with_macvtap" = "yes" ; then -- GitLab