php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #75050
Patch nxw_mariadb_10.2_ftbfs.patch revision 2017-08-08 17:01 UTC by l dot declercq at nuxwin dot com

Patch nxw_mariadb_10.2_ftbfs.patch for MySQLi related Bug #75050

Patch version 2017-08-08 17:01 UTC

Return to Bug #75050 | Download this patch
Patch Revisions:

Developer: l.declercq@nuxwin.com

--- a/ext/mysqli/php_mysqli_structs.h
+++ b/ext/mysqli/php_mysqli_structs.h
@@ -78,6 +78,7 @@
 
 #include <my_sys.h>
 #include <mysql.h>
+#include <mysql_version.h>
 #include <errmsg.h>
 #include <my_list.h>
 #include <m_string.h>
--- a/ext/pdo_mysql/php_pdo_mysql_int.h
+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
@@ -29,6 +29,7 @@
 #	define PDO_MYSQL_PARAM_BIND MYSQLND_PARAM_BIND
 #else
 #	include <mysql.h>
+#	include <mysql_version.h>
 #	define PDO_MYSQL_PARAM_BIND MYSQL_BIND
 #endif
 

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 13 05:01:27 2024 UTC