diff --git a/config/lib/vma/vma.cpp b/config/lib/vma/vma.cpp
index 0928b552c10e23914054c44b8de43df722aa2cf0..ab440b9084289db156336e7329bd1d367ea62aff 100644
--- a/config/lib/vma/vma.cpp
+++ b/config/lib/vma/vma.cpp
@@ -1,7 +1,17 @@
 
+#include <mutex>
+
 #ifndef NDEBUG
 #define _DEBUG
 #endif
 
+#ifndef _WIN32
+
+#ifndef _aligned_malloc
+#define _aligned_malloc(alignment, size) aligned_alloc((alignment), (size))
+#endif
+
+#endif
+
 #define VMA_IMPLEMENTATION
 #include "vk_mem_alloc.hpp"