From: Willy Tarreau Date: Fri, 14 May 2021 06:44:52 +0000 (+0200) Subject: IMPORT: slz: use inttypes.h instead of stdint.h X-Git-Tag: v2.4.0~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=388fc2591543c64bd10a2b53b66004ba95a5b680;p=thirdparty%2Fhaproxy.git IMPORT: slz: use inttypes.h instead of stdint.h stdint.h is not as portable as inttypes.h. It doesn't exist at least on AIX 5.1 and Solaris 7, while inttypes.h is present there and does include stdint.h on platforms supporting it. This is equivalent to libslz upstream commit e36710a ("slz: use inttypes.h instead of stdint.h") --- diff --git a/include/import/slz.h b/include/import/slz.h index 0f284e3033..d7d4863509 100644 --- a/include/import/slz.h +++ b/include/import/slz.h @@ -25,7 +25,7 @@ #ifndef _SLZ_H #define _SLZ_H -#include +#include /* We have two macros UNALIGNED_LE_OK and UNALIGNED_FASTER. The latter indicates * that using unaligned data is faster than a simple shift. On x86 32-bit at diff --git a/src/slz.c b/src/slz.c index 231e09c091..8eb01174d9 100644 --- a/src/slz.c +++ b/src/slz.c @@ -22,7 +22,7 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include +#include #include #include #include