File tree 2 files changed +5
-1
lines changed
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
42
42
fi
43
43
AC_CACHE_CHECK ( for tzname , ac_cv_var_tzname ,
44
44
[ AC_LINK_IFELSE ( [ AC_LANG_PROGRAM (
45
- [ [ #include <time.h>
45
+ [ [ #include <stdlib.h>
46
+ #include <time.h>
46
47
#ifndef tzname /* For SGI. */
47
48
extern char *tzname[ ] ; /* RS6000 and others reject char **tzname. */
48
49
#endif
@@ -184,6 +185,7 @@ AC_DEFUN([PGAC_FUNC_SNPRINTF_LONG_LONG_INT_MODIFIER],
184
185
AC_CACHE_VAL ( pgac_cv_snprintf_long_long_int_modifier ,
185
186
[ for pgac_modifier in 'll' 'q' 'I64'; do
186
187
AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [ #include <stdio.h>
188
+ #include <string.h>
187
189
typedef long long int ac_int64;
188
190
#define INT64_FORMAT "%${pgac_modifier}d"
189
191
Original file line number Diff line number Diff line change @@ -11569,6 +11569,7 @@ if ${ac_cv_var_tzname+:} false; then :
11569
11569
else
11570
11570
cat confdefs.h - << _ACEOF >conftest.$ac_ext
11571
11571
/* end confdefs.h. */
11572
+ #include <stdlib.h>
11572
11573
#include <time.h>
11573
11574
#ifndef tzname /* For SGI. */
11574
11575
extern char *tzname[]; /* RS6000 and others reject char **tzname. */
@@ -13754,6 +13755,7 @@ else
13754
13755
cat confdefs.h - << _ACEOF >conftest.$ac_ext
13755
13756
/* end confdefs.h. */
13756
13757
#include <stdio.h>
13758
+ #include <string.h>
13757
13759
typedef long long int ac_int64;
13758
13760
#define INT64_FORMAT "%${pgac_modifier} d"
13759
13761
You can’t perform that action at this time.
0 commit comments