mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
l2tpv3 (configure): it is linux-specific
Some non-linux systems, for example a system with FreeBSD kernel and glibc, may declare struct mmsghdr (in glibc) but may not have linux-specific header file linux/ip.h. The actual implementation in qemu includes this linux-specific header file unconditionally, so compilation fails if it is not present. Include this header in the configure test too. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
203d65a470
commit
bff6cb7296
1 changed files with 1 additions and 0 deletions
1
configure
vendored
1
configure
vendored
|
@ -1723,6 +1723,7 @@ fi
|
|||
|
||||
cat > $TMPC <<EOF
|
||||
#include <sys/socket.h>
|
||||
#include <linux/ip.h>
|
||||
int main(void) { return sizeof(struct mmsghdr); }
|
||||
EOF
|
||||
if compile_prog "" "" ; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue