From fcdefa7e479541a92f02b1933f58439e0fd03a1f Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 30 May 2020 22:37:45 +0000 Subject: [PATCH] anv,iris: unbreak on BSDs after 812cf5f522ab,abf8aed68047 ../src/intel/vulkan/anv_gem.c:31:10: fatal error: 'linux/sync_file.h' file not found #include ^~~~~~~~~~~~~~~~~~~ ../src/gallium/drivers/iris/iris_fence.c:29:10: fatal error: 'linux/sync_file.h' file not found #include ^~~~~~~~~~~~~~~~~~~ Reviewed-by: Jason Ekstrand Part-of: --- src/gallium/drivers/iris/iris_fence.c | 3 +-- src/intel/vulkan/anv_gem.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/iris/iris_fence.c b/src/gallium/drivers/iris/iris_fence.c index 8054f5f1fb7..4600c1c4238 100644 --- a/src/gallium/drivers/iris/iris_fence.c +++ b/src/gallium/drivers/iris/iris_fence.c @@ -26,8 +26,7 @@ * Fences for driver and IPC serialisation, scheduling and synchronisation. */ -#include - +#include "drm-uapi/sync_file.h" #include "util/u_debug.h" #include "util/u_inlines.h" #include "intel/common/gen_gem.h" diff --git a/src/intel/vulkan/anv_gem.c b/src/intel/vulkan/anv_gem.c index b1c727fb5ec..c3adc0c3cff 100644 --- a/src/intel/vulkan/anv_gem.c +++ b/src/intel/vulkan/anv_gem.c @@ -28,11 +28,11 @@ #include #include #include -#include #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. -- 2.30.2