package/xen: Include linux/limits.h when building QEMU inside of Xen
authorAlistair Francis <alistair.francis@xilinx.com>
Fri, 28 Jul 2017 18:45:17 +0000 (11:45 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Jul 2017 13:37:28 +0000 (15:37 +0200)
commit9d9a57a200d3592a80d3e9d463ba905d3fa7c505
treee795c58acaf35a18686832c3f7863cb4b425dfe1
parent9aceb8bfa8c39167b1c449301b7f00f16e4f816c
package/xen: Include linux/limits.h when building QEMU inside of Xen

If building Xen and not using glibc (using musl for example) the QEMU
project inside of Xen fails to build as it relys on the XATTR_SIZE_MAX
macro which is defined in <linux/limits.h>.

Glibc includes this header indirectly but as that is not part of the
POSIX standard other libraries don't neccessearily have this. To fix the
issue we explicitly include <linux/limits.h> to ensure the build works
for all libc libraries.

Fixes:
  http://autobuild.buildroot.net/results/bb1/bb1310eb1464d880a357ae5e491fd168361d25a0

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/xen/0002-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch [new file with mode: 0644]