1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

Fix bridge routines detection on kFreeBSD

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.
This commit is contained in:
Roman Bogorodskiy 2013-07-10 13:38:06 +04:00 committed by Michal Privoznik
parent f38c8185f9
commit 8849fc387c

View 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>
])