$OpenBSD: patch-third_party_vulkan_memory_allocator_include_vk_mem_alloc_h,v 1.1 2021/09/01 16:54:40 robert Exp $

Index: third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
--- third_party/vulkan_memory_allocator/include/vk_mem_alloc.h.orig
+++ third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
@@ -4120,7 +4120,7 @@ static void* vma_aligned_alloc(size_t alignment, size_
 
     return memalign(alignment, size);
 }
-#elif defined(__APPLE__) || defined(__ANDROID__) || (defined(__linux__) && defined(__GLIBCXX__) && !defined(_GLIBCXX_HAVE_ALIGNED_ALLOC))
+#elif defined(__APPLE__) || defined(__ANDROID__) || (defined(__linux__) && defined(__GLIBCXX__) && !defined(_GLIBCXX_HAVE_ALIGNED_ALLOC)) || defined(__OpenBSD__)
 #include <cstdlib>
 
 #if defined(__APPLE__)
