diff options
author | Werner Koch <[email protected]> | 2017-01-12 09:39:19 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-01-12 09:39:19 +0000 |
commit | 5c0777e1ca02ff1767755c417b64d6f78e02f475 (patch) | |
tree | b90977dfd0c93a5505b4f8f563dbaf0bd878fcac /configure.ac | |
parent | build: Make autogen.sh more POSIX friendly. (diff) | |
download | gnupg-5c0777e1ca02ff1767755c417b64d6f78e02f475.tar.gz gnupg-5c0777e1ca02ff1767755c417b64d6f78e02f475.zip |
tests: Fix t-gettime for a time_t of 64 and a long of 32 bit.
* configure.ac (AC_CHECK_HEADERS): Add stdint.h.
* common/t-gettime.c: Include stdint.h.
(UINTMAX_C): Define replacement.
(test_isotime2epoch): Use UINTMAX_C for the >32 bit constants.
--
This is for example the case on 32 bit OpenBSD.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index fa206c991..f929cb60f 100644 --- a/configure.ac +++ b/configure.ac @@ -1258,7 +1258,7 @@ AC_MSG_NOTICE([checking for header files]) AC_HEADER_STDC AC_CHECK_HEADERS([string.h unistd.h langinfo.h termio.h locale.h getopt.h \ pty.h utmp.h pwd.h inttypes.h signal.h sys/select.h \ - signal.h]) + stdint.h signal.h]) AC_HEADER_TIME |