From 388fc2591543c64bd10a2b53b66004ba95a5b680 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 14 May 2021 08:44:52 +0200 Subject: [PATCH] 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") --- include/import/slz.h | 2 +- src/slz.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/import/slz.h b/include/import/slz.h index 0f284e303..d7d486350 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 231e09c09..8eb01174d 100644 --- a/src/slz.c +++ b/src/slz.c @@ -22,7 +22,7 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include +#include #include #include #include