Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0b9a5b0

Browse filesBrowse files
committed
Fix build error when using libmariadbclient.
Fixes farcepest/MySQLdb1#80
1 parent abde393 commit 0b9a5b0
Copy full SHA for 0b9a5b0

File tree

Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed

‎_mysql.c

Copy file name to clipboardExpand all lines: _mysql.c
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2626
PERFORMANCE OF THIS SOFTWARE.
2727
*/
2828

29+
#include "my_config.h"
30+
#include "mysql.h"
31+
#include "mysqld_error.h"
32+
2933
#include "Python.h"
3034
#if PY_MAJOR_VERSION >= 3
3135
#define IS_PY3K
@@ -37,9 +41,6 @@ PERFORMANCE OF THIS SOFTWARE.
3741

3842
#include "bytesobject.h"
3943
#include "structmember.h"
40-
#include "my_config.h"
41-
#include "mysql.h"
42-
#include "mysqld_error.h"
4344
#include "errmsg.h"
4445

4546
#define MyAlloc(s,t) (s *) t.tp_alloc(&t,0)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.