From 3e818862cb1120788bc66fa85ba00a3588878a23 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 6 Jun 2024 10:44:03 +0200 Subject: update to 5.1.3 fix build warnings (errors with GCC 14) using patch from https://github.com/swoole/swoole-src/pull/5363 --- 0001-missing-header.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 0001-missing-header.patch (limited to '0001-missing-header.patch') diff --git a/0001-missing-header.patch b/0001-missing-header.patch new file mode 100644 index 0000000..58784aa --- /dev/null +++ b/0001-missing-header.patch @@ -0,0 +1,24 @@ +From 10feb6a1ca1c396d323f4bf92acd67feae758a62 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Thu, 6 Jun 2024 10:08:05 +0200 +Subject: [PATCH] missing header + +--- + thirdparty/php83/pdo_odbc/odbc_driver.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/thirdparty/php83/pdo_odbc/odbc_driver.c b/thirdparty/php83/pdo_odbc/odbc_driver.c +index c83da646c..a5e3a8b4f 100644 +--- a/thirdparty/php83/pdo_odbc/odbc_driver.c ++++ b/thirdparty/php83/pdo_odbc/odbc_driver.c +@@ -25,6 +25,7 @@ + #include "pdo/php_pdo.h" + #include "pdo/php_pdo_driver.h" + #include "zend_exceptions.h" ++#include + + static void pdo_odbc_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) { + pdo_odbc_db_handle *H = (pdo_odbc_db_handle *) dbh->driver_data; +-- +2.45.1 + -- cgit