From 8be4b550f37a360e437f72ee69fddcd8419e2eec Mon Sep 17 00:00:00 2001 From: David King Date: Mon, 19 Feb 2018 10:31:41 +0000 Subject: [PATCH] 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. --- common/flatpak-utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/flatpak-utils.c b/common/flatpak-utils.c index ef240032..9b18be3a 100644 --- a/common/flatpak-utils.c +++ b/common/flatpak-utils.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include