diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2014-08-01 23:20:24 +0400 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-08-09 00:06:32 +0400 |
commit | bff6cb72961f1bd2c766efe85ff5850fd8d7e77d (patch) | |
tree | 24e115f90ee27ff6e23310bee0858910c0c54df5 /configure | |
parent | 203d65a4706be345c209f3408d3a011a3e48f0c9 (diff) | |
download | qemu-bff6cb72961f1bd2c766efe85ff5850fd8d7e77d.zip qemu-bff6cb72961f1bd2c766efe85ff5850fd8d7e77d.tar.gz qemu-bff6cb72961f1bd2c766efe85ff5850fd8d7e77d.tar.bz2 |
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |