Home
last modified time | relevance | path

Searched hist:"75 e5b70e6b5dcc4f2219992d7cffa462aa406af0" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/util/
H A Dmemfd.c75e5b70e6b5dcc4f2219992d7cffa462aa406af0 Tue Nov 28 04:51:27 CST 2017 Paolo Bonzini <pbonzini@redhat.com> memfd: fix configure test

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 since the
file actually does not exist---it is a typo in the memfd_create(2) man
page.

Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/openbmc/qemu/
H A Dconfigure75e5b70e6b5dcc4f2219992d7cffa462aa406af0 Tue Nov 28 04:51:27 CST 2017 Paolo Bonzini <pbonzini@redhat.com> memfd: fix configure test

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 since the
file actually does not exist---it is a typo in the memfd_create(2) man
page.

Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>