diff options
author | Remi Collet <remi@remirepo.net> | 2023-02-17 10:15:45 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-02-17 10:15:45 +0100 |
commit | 10524984cdc4c499d8fc73ca966419ace9c8472a (patch) | |
tree | a361c941cbbb88a6f9eb342b94021e4efecc63f6 /swoole-gcc13.patch | |
parent | 8ed1fc9a47c105c8a9f18fcc813dd4e4919de9ef (diff) |
fix GCC 13 build using patch from
https://github.com/swoole/swoole-src/pull/4985
Diffstat (limited to 'swoole-gcc13.patch')
-rw-r--r-- | swoole-gcc13.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/swoole-gcc13.patch b/swoole-gcc13.patch new file mode 100644 index 0000000..30be7dc --- /dev/null +++ b/swoole-gcc13.patch @@ -0,0 +1,21 @@ +From 3191406bcb6a9f6a076c423417e921a313bdccf9 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Fri, 17 Feb 2023 09:54:15 +0100 +Subject: [PATCH] Fix #4983 Add missing header for GCC 13 + +--- + include/swoole_proxy.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/swoole_proxy.h b/include/swoole_proxy.h +index 7a0a955a7a..9f403b50cd 100644 +--- a/include/swoole_proxy.h ++++ b/include/swoole_proxy.h +@@ -17,6 +17,7 @@ + #pragma once + + #include <string> ++#include <cstdint> + + #define SW_SOCKS5_VERSION_CODE 0x05 + |