diff options
author | Sam James <sam@gentoo.org> | 2022-10-30 17:17:29 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-30 17:42:39 +0000 |
commit | fb3d6f750ec628784e7a5da21e9e50d9cef0c80c (patch) | |
tree | 0e1a72e03c44d7de71a49c151e440d8fad7f3e0a /m4 | |
parent | 2d8193bd35e9a8e058061ed6b1b5b4591124269b (diff) | |
download | autoconf-archive-fb3d6f750ec628784e7a5da21e9e50d9cef0c80c.tar.gz |
AX_CHECK_STRFTIME: add missing includes for strcmp()
Clang 16 makes -Wimplicit-function-declaration an error by default.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ax_check_strftime.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/ax_check_strftime.m4 b/m4/ax_check_strftime.m4 index fdf2186..5e7cf33 100644 --- a/m4/ax_check_strftime.m4 +++ b/m4/ax_check_strftime.m4 @@ -19,13 +19,14 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([AG_CHECK_STRFTIME], [AX_CHECK_STRFTIME]) AC_DEFUN([AX_CHECK_STRFTIME],[ AC_MSG_CHECKING([whether strftime() works]) AC_CACHE_VAL([ax_cv_strftime],[ AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <time.h> +#include <string.h> char t_buf[ 64 ]; int main() { static const char z[] = "Thursday Aug 28 240"; |