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

18 lines
367 B
C

- Define ETIME if missing
- Drop header that was never used
--- src/intel/vulkan/anv_queue.c.orig 2017-10-23 13:21:18 UTC
+++ src/intel/vulkan/anv_queue.c
@@ -26,8 +26,11 @@
*/
#include <fcntl.h>
+#include <errno.h>
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
#include <unistd.h>
-#include <sys/eventfd.h>
#include "anv_private.h"
#include "vk_util.h"