Skip to content

Commit

Permalink
Fix build error when using libmariadbclient.
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Oct 11, 2014
1 parent abde393 commit 0b9a5b0
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

3 comments on commit 0b9a5b0

@brutasse
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When will there be a release with this fix included? Thanks!

@methane
Copy link
Member Author

@methane methane commented on 0b9a5b0 Nov 2, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brutasse I've released 1.3.4 now.

@brutasse
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@methane thanks!

Please sign in to comment.