From ca3312765228a344497a509086559be371a4e1c9 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Thu, 17 Apr 2025 12:23:12 +1000 Subject: [PATCH] vulkan: add missing include for FALLTHROUGH When CLOCK_MONOTONIC_RAW and CLOCK_MONOTONIC_FAST are not defined FALLTHROUGH is used. Add the include for the define. Fixes the build on OpenBSD. Fixes: 3bc7564bb03 ("vulkan: add vk_device_get_timestamp") Part-of: --- src/vulkan/runtime/vk_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vulkan/runtime/vk_device.c b/src/vulkan/runtime/vk_device.c index a25e3331a52..8e99c47baa2 100644 --- a/src/vulkan/runtime/vk_device.c +++ b/src/vulkan/runtime/vk_device.c @@ -32,6 +32,7 @@ #include "vk_sync.h" #include "vk_sync_timeline.h" #include "vk_util.h" +#include "util/compiler.h" #include "util/u_debug.h" #include "util/hash_table.h" #include "util/perf/cpu_trace.h"