opnsense-ports/graphics/mesa-dri/files/patch-src_intel_vulkan_anv__gem.c
Franco Fichtner 784dc5caa6 */*: sync with upstream
Taken from: HardenedBSD
2017-12-28 09:35:40 +01:00

14 lines
291 B
C

- Define ETIME if missing
--- src/intel/vulkan/anv_gem.c.orig 2017-10-23 13:21:18 UTC
+++ src/intel/vulkan/anv_gem.c
@@ -26,6 +26,9 @@
#include <sys/mman.h>
#include <string.h>
#include <errno.h>
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
#include <unistd.h>
#include <fcntl.h>