$OpenBSD: patch-layers_vk_mem_alloc_h,v 1.1.1.1 2019/06/22 15:32:36 thfr Exp $

Index: layers/vk_mem_alloc.h
--- layers/vk_mem_alloc.h.orig
+++ layers/vk_mem_alloc.h
@@ -3179,7 +3179,7 @@ void *aligned_alloc(size_t alignment, size_t size)
 
     return memalign(alignment, size);
 }
-#elif defined(__APPLE__) || defined(__ANDROID__)
+#elif defined(__APPLE__) || defined(__ANDROID__) || defined(__unix__)
 #  define ALIGNED_ALLOC_WITH_POSIX_MEMALIGN
 #elif defined(__GNU_LIBRARY__)
 #  if !defined(__GLIBC_PREREQ) || !__GLIBC_PREREQ(2, 16)
