]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Fix bridge routines detection on kFreeBSD
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Wed, 10 Jul 2013 09:38:06 +0000 (13:38 +0400)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 10 Jul 2013 11:20:02 +0000 (13:20 +0200)
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

index a6ad6a3ed62b085975b251249414eb07dceea241..015d6c25d699ea5f42fe9391dfff3a1d9112ceca 100644 (file)
@@ -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>
                ])