../src/intel/vulkan/anv_gem.c:31:10: fatal error: 'linux/sync_file.h' file not found
#include <linux/sync_file.h>
^~~~~~~~~~~~~~~~~~~
../src/gallium/drivers/iris/iris_fence.c:29:10: fatal error: 'linux/sync_file.h' file not found
#include <linux/sync_file.h>
^~~~~~~~~~~~~~~~~~~
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5463>
* Fences for driver and IPC serialisation, scheduling and synchronisation.
*/
-#include <linux/sync_file.h>
-
+#include "drm-uapi/sync_file.h"
#include "util/u_debug.h"
#include "util/u_inlines.h"
#include "intel/common/gen_gem.h"
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
-#include <linux/sync_file.h>
#include "anv_private.h"
#include "common/gen_defines.h"
#include "common/gen_gem.h"
+#include "drm-uapi/sync_file.h"
/**
* Wrapper around DRM_IOCTL_I915_GEM_CREATE.