File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
4242fi
4343AC_CACHE_CHECK ( for tzname , ac_cv_var_tzname ,
4444[ AC_LINK_IFELSE ( [ AC_LANG_PROGRAM (
45- [ [ #include <time.h>
45+ [ [ #include <stdlib.h>
46+ #include <time.h>
4647#ifndef tzname /* For SGI. */
4748extern char *tzname[ ] ; /* RS6000 and others reject char **tzname. */
4849#endif
@@ -184,6 +185,7 @@ AC_DEFUN([PGAC_FUNC_SNPRINTF_LONG_LONG_INT_MODIFIER],
184185AC_CACHE_VAL ( pgac_cv_snprintf_long_long_int_modifier ,
185186[ for pgac_modifier in 'll' 'q' 'I64'; do
186187AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [ #include <stdio.h>
188+ #include <string.h>
187189typedef long long int ac_int64;
188190#define INT64_FORMAT "%${pgac_modifier}d"
189191
Original file line number Diff line number Diff line change @@ -11569,6 +11569,7 @@ if ${ac_cv_var_tzname+:} false; then :
1156911569else
1157011570 cat confdefs.h - << _ACEOF >conftest.$ac_ext
1157111571/* end confdefs.h. */
11572+ #include <stdlib.h>
1157211573#include <time.h>
1157311574#ifndef tzname /* For SGI. */
1157411575extern char *tzname[]; /* RS6000 and others reject char **tzname. */
@@ -13754,6 +13755,7 @@ else
1375413755 cat confdefs.h - << _ACEOF >conftest.$ac_ext
1375513756/* end confdefs.h. */
1375613757#include <stdio.h>
13758+ #include <string.h>
1375713759typedef long long int ac_int64;
1375813760#define INT64_FORMAT "%${pgac_modifier} d"
1375913761
You can’t perform that action at this time.
0 commit comments