From c0376a123418df0050dc45d3e1e84f6b29a6a1f3 Mon Sep 17 00:00:00 2001 From: Greg V Date: Thu, 18 Jan 2018 23:29:14 +0300 Subject: util: add anon_file.h for all memfd/temp file usage Move the Weston os_create_anonymous_file code from egl/wayland into util, add support for Linux memfd and FreeBSD SHM_ANON, use that code in anv/aubinator instead of explicit memfd calls for portability. Acked-by: Lionel Landwerlin Reviewed-by: Eric Engestrom --- src/util/meson.build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util/meson.build') diff --git a/src/util/meson.build b/src/util/meson.build index 95aff3b442f..cf1616e7bc6 100644 --- a/src/util/meson.build +++ b/src/util/meson.build @@ -23,6 +23,8 @@ inc_util = include_directories('.') subdir('xmlpool') files_mesa_util = files( + 'anon_file.h', + 'anon_file.c', 'bigmath.h', 'bitscan.c', 'bitscan.h', -- cgit v1.2.3