提交 8849fc38 编写于 作者: R Roman Bogorodskiy 提交者: Michal Privoznik

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.
上级 f38c8185
...@@ -2405,7 +2405,8 @@ AC_CHECK_DECLS([BRDGSFD, BRDGADD, BRDGDEL], ...@@ -2405,7 +2405,8 @@ AC_CHECK_DECLS([BRDGSFD, BRDGADD, BRDGDEL],
[1], [1],
[whether BSD style bridge management is available])], [whether BSD style bridge management is available])],
[], [],
[#include <net/if.h> [#include <stdint.h>
#include <net/if.h>
#include <net/ethernet.h> #include <net/ethernet.h>
#include <net/if_bridgevar.h> #include <net/if_bridgevar.h>
]) ])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册