diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-10-28 16:06:59 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-10-28 16:27:53 +1100 |
commit | 2912596aecfcf48e5115c7a906d1e664f7717a4b (patch) | |
tree | 08afe73fa8dcabea663c86947671c9fc9467e259 /configure.ac | |
parent | 7169e31121e8c8cc729b55154deb722ae495b316 (diff) |
Define UINT32_MAX if needed.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8bc96bb4..268fe1a4 100644 --- a/configure.ac +++ b/configure.ac @@ -3541,6 +3541,17 @@ fprint_ll(FILE *f, long long n) ) fi +AC_CHECK_DECLS([UINT32_MAX], , , [[ +#ifdef HAVE_SYS_LIMITS_H +# include <sys/limits.h> +#endif +#ifdef HAVE_LIMITS_H +# include <limits.h> +#endif +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif +]]) # More checks for data types AC_CACHE_CHECK([for u_int type], ac_cv_have_u_int, [ |