mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
build: resolve missing includes under gcc-13
$ make ... ~/gzdoom/libraries/ZVulkan/src/vulkanbuilders.cpp: In member function ‘std::unique_ptr<VulkanShader> ShaderBuilder::Create(const char*, VulkanDevice*)’: ~/gzdoom/libraries/ZVulkan/src/vulkanbuilders.cpp:168:28: error: ‘runtime_error’ is not a member of ‘std’ ~/gzdoom/libraries/ZVulkan/include/zvulkan/vk_mem_alloc/vk_mem_alloc.h: In function ‘void VmaUint32ToStr(char*, size_t, uint32_t)’: ~/gzdoom/libraries/ZVulkan/include/zvulkan/vk_mem_alloc/vk_mem_alloc.h:2410:9: error: ‘snprint ’ was not declared in this scope
This commit is contained in:
parent
9fbac8f1d4
commit
a6b9dd0c30
3 changed files with 4 additions and 2 deletions
|
@ -104,6 +104,8 @@ Documentation of all members: vk_mem_alloc.h
|
||||||
- [Source repository on GitHub](https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator)
|
- [Source repository on GitHub](https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
#include <stdexcept>
|
||||||
#include "vulkanbuilders.h"
|
#include "vulkanbuilders.h"
|
||||||
#include "vulkansurface.h"
|
#include "vulkansurface.h"
|
||||||
#include "vulkancompatibledevice.h"
|
#include "vulkancompatibledevice.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
#include <stdexcept>
|
||||||
#include "vulkanswapchain.h"
|
#include "vulkanswapchain.h"
|
||||||
#include "vulkanobjects.h"
|
#include "vulkanobjects.h"
|
||||||
#include "vulkansurface.h"
|
#include "vulkansurface.h"
|
||||||
|
|
Loading…
Reference in a new issue