common: Include sys/mman.h for memfd_create()

Versions of glibc starting with 2.27 include support for memfd_create()
in sys/mman.h, and the included libglnx then drops its internal define.
This commit is contained in:
David King
2018-02-19 10:31:41 +00:00
committed by Alexander Larsson
parent 71cebc39d2
commit 8be4b550f3

View File

@@ -38,6 +38,7 @@
#include <string.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/utsname.h>
#include <sys/ioctl.h>