summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyu Yang <jiyu.yang@nxp.com>2023-10-30 16:11:26 +0800
committerDennis Tsiang <dennis.tsiang@arm.com>2023-10-31 08:54:05 +0000
commit619f5f0e1e132f729cdea4113ed4cab9b9e94076 (patch)
treefd0b9382dc4649fc153bcfbe67735622718a97ca
parent5f1733d88bda28d66c99753fc6bb9093b99aef78 (diff)
downloadvulkan-wsi-layer-619f5f0e1e132f729cdea4113ed4cab9b9e94076.tar.gz
vulkan-wsi-layer-619f5f0e1e132f729cdea4113ed4cab9b9e94076.tar.bz2
vulkan-wsi-layer-619f5f0e1e132f729cdea4113ed4cab9b9e94076.zip
add missing <system_error> include
fix build error with GCC 13: ``` wsi/swapchain_base.cpp:150:35: error: expected unqualified-id before ‘&’ token 150 | catch (const std::system_error &) | ``` Signed-off-by: Jiyu Yang <jiyu.yang@nxp.com>
-rw-r--r--wsi/swapchain_base.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/wsi/swapchain_base.cpp b/wsi/swapchain_base.cpp
index 4e46f2b..5fa4cbb 100644
--- a/wsi/swapchain_base.cpp
+++ b/wsi/swapchain_base.cpp
@@ -36,6 +36,7 @@
#include <cerrno>
#include <cstdio>
#include <cstdlib>
+#include <system_error>
#include <unistd.h>
#include <vulkan/vulkan.h>