Skip to content

Commit

Permalink
Merge pull request #7 from PyMySQL/fix-libmariadb
Browse files Browse the repository at this point in the history
Fix build error when using libmariadbclient.
  • Loading branch information
methane committed Oct 11, 2014
2 parents abde393 + 0b9a5b0 commit acf2c8c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions _mysql.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit acf2c8c

Please sign in to comment.