From: Tim Kientzle Date: Tue, 7 May 2024 03:46:26 +0000 (-0700) Subject: Define INT_MAX via `#include ` (#2170) X-Git-Tag: v3.7.5~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ff1cd1e487ddf545337b88da3f1f5ca69a2f958;p=thirdparty%2Flibarchive.git Define INT_MAX via `#include ` (#2170) #2110 added usages of INT_MAX here without adding the necessary header. Resolves #2162 --- diff --git a/tar/bsdtar.c b/tar/bsdtar.c index 42baab286..f0e71afd1 100644 --- a/tar/bsdtar.c +++ b/tar/bsdtar.c @@ -43,6 +43,9 @@ #ifdef HAVE_LANGINFO_H #include #endif +#ifdef HAVE_LIMITS_H +#include +#endif #ifdef HAVE_LOCALE_H #include #endif