Re: [Qemu-devel] [PULL 01/46] memfd: fix configure test

2018-04-30 Thread Greg Kurz
This one is needed to build QEMU 2.11.x on Ubuntu 18.04. On Wed, 20 Dec 2017 18:14:13 +0100 Paolo Bonzini wrote: > Recent glibc added memfd_create in sys/mman.h. This conflicts with > the definition in util/memfd.c: > > /builddir/build/BUILD/qemu-2.11.0-rc1/util/memfd.c:40:12: error: stati

[Qemu-devel] [PULL 01/46] memfd: fix configure test

2017-12-20 Thread Paolo Bonzini
Recent glibc added memfd_create in sys/mman.h. This conflicts with the definition in util/memfd.c: /builddir/build/BUILD/qemu-2.11.0-rc1/util/memfd.c:40:12: error: static declaration of memfd_create follows non-static declaration Fix the configure test, and remove the sys/memfd.h inclusion