From 39f44902f3d59d6dab4e1262011f6ddb08ca28f6 Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Mon, 4 Jun 2018 14:06:46 +0200 Subject: [PATCH] Revert "Unbreak on BSDs" --- src/vk_mem_alloc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index 0065d70..b621fe7 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -2229,6 +2229,10 @@ remove them if not needed. #include // for std::mutex #include // for std::atomic +#if !defined(_WIN32) && !defined(__APPLE__) + #include // for aligned_alloc() +#endif + #ifndef VMA_NULL // Value used as null pointer. Define it to e.g.: nullptr, NULL, 0, (void*)0. #define VMA_NULL nullptr