Include inttypes.h if stdint.h is not present.

Bug #1035
This commit is contained in:
Todd C. Miller
2022-06-27 07:20:37 -06:00
parent e9c2695268
commit f432209304

View File

@@ -29,8 +29,12 @@
#include <errno.h>
#include <limits.h>
#include <signal.h>
#if defined(HAVE_STDINT_H)
# include <stdint.h>
#elif defined(HAVE_INTTYPES_H)
# include <inttypes.h>
#endif
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>