mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 19:31:54 +08:00
Fix build error when using libmariadbclient.
Fixes farcepest/MySQLdb1#80
This commit is contained in:
7
_mysql.c
7
_mysql.c
@ -26,6 +26,10 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "my_config.h"
|
||||
#include "mysql.h"
|
||||
#include "mysqld_error.h"
|
||||
|
||||
#include "Python.h"
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
#define IS_PY3K
|
||||
@ -37,9 +41,6 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
#include "bytesobject.h"
|
||||
#include "structmember.h"
|
||||
#include "my_config.h"
|
||||
#include "mysql.h"
|
||||
#include "mysqld_error.h"
|
||||
#include "errmsg.h"
|
||||
|
||||
#define MyAlloc(s,t) (s *) t.tp_alloc(&t,0)
|
||||
|
Reference in New Issue
Block a user