summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/mysql/mariadb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-05-31 21:55:00 -0700
committerKhem Raj <raj.khem@gmail.com>2021-06-01 09:00:39 -0700
commit0298521fcd9eefdd9cd415b58740b972d65cf93c (patch)
tree1d53d50d42ac4b4ad93401fe2fb9f7b3c27ee5b2 /meta-oe/recipes-dbs/mysql/mariadb
parentbbef20780c0e9c6d525315b930bae4e4be1d3cc9 (diff)
downloadmeta-openembedded-0298521fcd9eefdd9cd415b58740b972d65cf93c.tar.gz
mariadb: Include missing sys/type.h for ssize_t
musl finds this problem in sources where its missing to include needed system header for ssize_t Fixes wsrep-lib/include/wsrep/gtid.hpp:80:5: error: unknown type name 'ssize_t'; did you mean 'size_t'? ssize_t scan_from_c_str(const char* buf, size_t buf_len, ^~~~~~~ size_t Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs/mysql/mariadb')
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch b/meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch
new file mode 100644
index 0000000000..4e499d4137
--- /dev/null
+++ b/meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch
@@ -0,0 +1,15 @@
1ssize_t comes from sys/types.h therefore include it
2
3Upstream-Status: Pending
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5--- a/wsrep-lib/include/wsrep/gtid.hpp
6+++ b/wsrep-lib/include/wsrep/gtid.hpp
7@@ -25,7 +25,7 @@
8 #include "compiler.hpp"
9
10 #include <iosfwd>
11-
12+#include <sys/types.h>
13 /**
14 * Minimum number of bytes guaratneed to store GTID string representation,
15 * terminating '\0' not included (36 + 1 + 20).