diff options
author | Christos Zoulas <christos@zoulas.com> | 2022-09-11 20:57:20 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2022-09-11 20:57:20 +0000 |
commit | a19f6d9f2444d6db3d346ffb27d5f3ed6170adc6 (patch) | |
tree | e23484145df2437431112cbee72d43157e91ea8a /acinclude.m4 | |
parent | e7010cc7d16c7770066415e9a6802432e0da9a71 (diff) | |
download | file-git-a19f6d9f2444d6db3d346ffb27d5f3ed6170adc6.tar.gz |
Include <stdlib.h> for atoi(3) (Sam James)
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 77b63ff5..e0811dd8 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -35,7 +35,8 @@ if test "$ac_cv_struct_tm_isdst" = yes; then fi -AC_CHECK_DECLS([daylight], , , [#include <time.h>]) +AC_CHECK_DECLS([daylight], , , [#include <time.h> +#include <stdlib.h>]) AC_CACHE_CHECK(for daylight, ac_cv_var_daylight, [AC_LINK_IFELSE( [AC_LANG_PROGRAM([#include <time.h>], |