mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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 <wk@gnupg.org>
This commit is contained in:
parent
3c00b52f7c
commit
5c0777e1ca
2 changed files with 14 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue