Assume struct tm is defined in <time.h>

It has been a requirement since at least C90, according to tm(3type).

Link: <https://github.com/shadow-maint/shadow/pull/600>
Cc: Christian Göttsche <cgzones@googlemail.com>
Cc: Iker Pedrosa <ipedrosa@redhat.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar 2022-12-22 11:53:44 +01:00 committed by Serge Hallyn
parent d96bb2868d
commit 647d46507d

View File

@ -54,7 +54,6 @@ AC_CHECK_FUNCS(arc4random_buf futimes \
AC_SYS_LARGEFILE AC_SYS_LARGEFILE
dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for typedefs, structures, and compiler characteristics.
AC_STRUCT_TM
AC_CHECK_MEMBERS([struct utmp.ut_type, AC_CHECK_MEMBERS([struct utmp.ut_type,
struct utmp.ut_id, struct utmp.ut_id,