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 <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>
This commit is contained in:
parent
0bd5f9a5bc
commit
fcdefa7e47
|
@ -26,8 +26,7 @@
|
|||
* 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"
|
||||
|
|
|
@ -28,11 +28,11 @@
|
|||
#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.
|
||||
|
|
Loading…
Reference in New Issue