From de7d72cab441b4f69a1a67664710673caff9eec0 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Thu, 17 Oct 2024 20:15:09 +0300 Subject: [PATCH] src/vfs/tar/tar-internal.c: define UINTMAX_WIDTH. Signed-off-by: Yury V. Zaytsev --- src/vfs/tar/tar-internal.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vfs/tar/tar-internal.c b/src/vfs/tar/tar-internal.c index d0691edc6..1afb1369b 100644 --- a/src/vfs/tar/tar-internal.c +++ b/src/vfs/tar/tar-internal.c @@ -45,6 +45,10 @@ /*** file scope macro definitions ****************************************************************/ +#ifndef UINTMAX_WIDTH +#define UINTMAX_WIDTH (sizeof (uintmax_t) * CHAR_BIT) +#endif + /* Log base 2 of common values. */ #define LG_8 3 #define LG_256 8 -- 2.11.4.GIT