mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
0298521fcd
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>
16 lines
421 B
Diff
16 lines
421 B
Diff
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).
|