Use stdint.h to get SIZE_MAX as inttypes.h on some pre-C99 HP-UX

systems doesn't include stdint.h itself.
This commit is contained in:
Todd C. Miller
2015-02-03 10:00:30 -07:00
parent a17d562fdb
commit a9bf105eda
9 changed files with 175 additions and 273 deletions

View File

@@ -43,7 +43,9 @@
#if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS)
# include <malloc.h>
#endif /* HAVE_MALLOC_H && !STDC_HEADERS */
#ifdef HAVE_INTTYPES_H
#if defined(HAVE_STDINT_H)
# include <stdint.h>
#elif defined(HAVE_INTTYPES_H)
# include <inttypes.h>
#endif
#include <limits.h>