mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-28 09:38:20 -05:00
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:
committed by
Alexander Larsson
parent
71cebc39d2
commit
8be4b550f3
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user