提交 416fc2e4 编写于 作者: C Cole Robinson

Revert "build: further fixes for broken if_bridge.h"

This reverts commit d23e735f.

Accidental double commit.
上级 d23e735f
...@@ -859,7 +859,7 @@ if test "$with_linux" = "yes"; then ...@@ -859,7 +859,7 @@ if test "$with_linux" = "yes"; then
if test "$with_qemu" = "yes" || test "$with_lxc" = "yes" ; then if test "$with_qemu" = "yes" || test "$with_lxc" = "yes" ; then
AC_CHECK_HEADERS([linux/param.h linux/sockios.h linux/if_bridge.h linux/if_tun.h],, AC_CHECK_HEADERS([linux/param.h linux/sockios.h linux/if_bridge.h linux/if_tun.h],,
[AC_MSG_ERROR([You must install kernel-headers in order to compile libvirt with QEMU or LXC support])], [AC_MSG_ERROR([You must install kernel-headers in order to compile libvirt with QEMU or LXC support])],
[[#include <netinet/in.h> [[#include <netinet/ip6.h>
]]) ]])
fi fi
fi fi
......
...@@ -30,8 +30,9 @@ ...@@ -30,8 +30,9 @@
#include "intprops.h" #include "intprops.h"
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/socket.h> #ifdef HAVE_NET_IF_H
#include <net/if.h> # include <net/if.h>
#endif
#include <netinet/in.h> #include <netinet/in.h>
#ifdef __linux__ #ifdef __linux__
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册