[libvirt] [PATCH] Fix bridge routines detection on kFreeBSD

Roman Bogorodskiy bogorodskiy at gmail.com
Wed Jul 10 09:38:06 UTC 2013


In order to properly detect bridge related definitions such as
BRDGSFD, BRDGADD and BRDGDEL on kFreeBSD we need to include
<stdint.h>.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715321

Reported by Laurent Bigonville.
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index a6ad6a3..015d6c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2405,7 +2405,8 @@ AC_CHECK_DECLS([BRDGSFD, BRDGADD, BRDGDEL],
                           [1],
                           [whether BSD style bridge management is available])],
                [],
-               [#include <net/if.h>
+               [#include <stdint.h>
+                #include <net/if.h>
                 #include <net/ethernet.h>
                 #include <net/if_bridgevar.h>
                ])
-- 
1.8.2.3




More information about the libvir-list mailing list