mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +08:00
Merge pull request #7 from PyMySQL/fix-libmariadb
Fix build error when using libmariadbclient.
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