diff options
author | Jiyu Yang <jiyu.yang@nxp.com> | 2023-10-30 16:11:26 +0800 |
---|---|---|
committer | Dennis Tsiang <dennis.tsiang@arm.com> | 2023-10-31 08:54:05 +0000 |
commit | 619f5f0e1e132f729cdea4113ed4cab9b9e94076 (patch) | |
tree | fd0b9382dc4649fc153bcfbe67735622718a97ca | |
parent | 5f1733d88bda28d66c99753fc6bb9093b99aef78 (diff) | |
download | vulkan-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.cpp | 1 |
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> |