summaryrefslogtreecommitdiffstats
path: root/openswoole-gcc13.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-02-17 09:50:05 +0100
committerRemi Collet <remi@php.net>2023-02-17 09:50:05 +0100
commitd578e90a0dca62be35dc860edfd3e206bdb21adf (patch)
tree7b9b4bf5f9c60127d79593a5edc91ecf747aba9c /openswoole-gcc13.patch
parent404f69deb283e127465e108141cd1814aee7ae04 (diff)
fix GCC 13 build using patch from
https://github.com/openswoole/ext-openswoole/pull/304
Diffstat (limited to 'openswoole-gcc13.patch')
-rw-r--r--openswoole-gcc13.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/openswoole-gcc13.patch b/openswoole-gcc13.patch
new file mode 100644
index 0000000..ec7c379
--- /dev/null
+++ b/openswoole-gcc13.patch
@@ -0,0 +1,21 @@
+From de189ecb0c8ba3c1e1bab01e4f82f7d7ba54d4e2 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Fri, 17 Feb 2023 09:23:33 +0100
+Subject: [PATCH] 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 b74701ef0..6abf3cd24 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
+