diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-05-31 21:55:00 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-07-18 08:47:42 -0700 |
commit | 9aad47d679f0453fe354409afa5f19ac4179958d (patch) | |
tree | e779775f6c09bf463a6d9c47cd604d6fb0daa44b /meta-oe/recipes-dbs/mysql/mariadb | |
parent | 5a9c8a31b73e97a60cd682b53c2497f8d4835dc7 (diff) | |
download | meta-openembedded-contrib-9aad47d679f0453fe354409afa5f19ac4179958d.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>
(cherry picked from commit 0298521fcd9eefdd9cd415b58740b972d65cf93c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs/mysql/mariadb')
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch | 15 |
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 @@ +ssize_t comes from sys/types.h therefore include it + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- a/wsrep-lib/include/wsrep/gtid.hpp ++++ b/wsrep-lib/include/wsrep/gtid.hpp +@@ -25,7 +25,7 @@ + #include "compiler.hpp" + + #include <iosfwd> +- ++#include <sys/types.h> + /** + * Minimum number of bytes guaratneed to store GTID string representation, + * terminating '\0' not included (36 + 1 + 20). |