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")
This commit is contained in:
Willy Tarreau 2021-05-14 08:44:52 +02:00
parent c5aa060643
commit 388fc25915
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
#ifndef _SLZ_H
#define _SLZ_H
#include <stdint.h>
#include <inttypes.h>
/* 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

View File

@ -22,7 +22,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include <stdint.h>
#include <inttypes.h>
#include <stdio.h>
#include <string.h>
#include <import/slz.h>