From: Pádraig Brady Date: Fri, 1 May 2026 12:48:39 +0000 (+0100) Subject: build: fix compilation error on Alpine Linux and OpenBSD X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=380dc99297cc8b57d09ae6b2fb236e7323452cf4;p=thirdparty%2Fcoreutils.git build: fix compilation error on Alpine Linux and OpenBSD * gl/lib/mbbuf.h: Define MBBUF_EOF in terms of MCEL_CHAR_MAX, rather than depending on the stdint module. Reported by Bruno Haible. --- diff --git a/gl/lib/mbbuf.h b/gl/lib/mbbuf.h index 63557fdced..a6289a8ceb 100644 --- a/gl/lib/mbbuf.h +++ b/gl/lib/mbbuf.h @@ -38,7 +38,7 @@ _GL_INLINE_HEADER_BEGIN #endif /* End of file. */ -#define MBBUF_EOF UINT32_MAX +#define MBBUF_EOF (MCEL_CHAR_MAX+1) /* MBBUF_EOF should not be a valid character. */ static_assert (MCEL_CHAR_MAX < MBBUF_EOF);