blob: 0914b3acff6a562e0b8ddd8e686c707fc1d11f51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- a/mydumper.c 2017-09-07 14:53:02.000000000 +0000
+++ b/mydumper.c 2017-10-06 17:39:34.962315949 +0000
@@ -22,6 +22,9 @@
#define _FILE_OFFSET_BITS 64
#include <mysql.h>
+#if defined(MARIADB_BASE_VERSION) && defined(MARIADB_VERSION_ID)
+ #include <server/mysql_version.h>
+#endif
#include <unistd.h>
#include <stdio.h>
#include <string.h>
--- a/myloader.c 2017-09-07 14:53:02.000000000 +0000
+++ b/myloader.c 2017-10-06 17:39:28.962315949 +0000
@@ -19,6 +19,9 @@
#define _FILE_OFFSET_BITS 64
#include <mysql.h>
+#if defined(MARIADB_BASE_VERSION) && defined(MARIADB_VERSION_ID)
+ #include <server/mysql_version.h>
+#endif
#include <unistd.h>
#include <stdio.h>
#include <string.h>
|