mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 08:29:37 +00:00
- remove uint fix from patch, as it was fixed upstream Signed-off-by: Philipp Rösner <rndxelement@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41571 Closes: https://github.com/gentoo/gentoo/pull/41571 Signed-off-by: Sam James <sam@gentoo.org>
17 lines
494 B
Diff
17 lines
494 B
Diff
# Include endian.h because otherwise constants like BYTE_ORDER,
|
|
# LITTLE_ENDIAN or BIG_ENDIAN as well as functions like
|
|
# toBigEndian are missing when building with musl.
|
|
# On glibc these symbols are present without including
|
|
# endian.h, however including it anyway is fine.
|
|
#
|
|
# Related bug: https://bugs.gentoo.org/927902
|
|
--- a/types.h
|
|
+++ b/types.h
|
|
@@ -40,6 +40,7 @@
|
|
#include <fstream>
|
|
#include <array>
|
|
#include <cstdint>
|
|
+#include <endian.h>
|
|
|
|
class Error : public std::runtime_error
|
|
{
|