summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-08-30 12:00:00 -0400
committerPeter Eisentraut <peter_e@gmx.net>2016-09-30 14:04:10 -0400
commita5da81359dbddfee49ea7800b43d99c204b4d31f (patch)
tree43969d043ee34c82b7bc33e0dccb5d085aece9b0 /configure
parent1c0cf52b39ca3a9a79661129cff918dc000a55eb (diff)
Add missing include files to configure tests
atoi() needs stdlib.h strcmp() needs string.h Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi> Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 3eb0faf77dc..1021fd539ec 100755
--- a/configure
+++ b/configure
@@ -11569,6 +11569,7 @@ if ${ac_cv_var_tzname+:} false; then :
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+#include <stdlib.h>
#include <time.h>
#ifndef tzname /* For SGI. */
extern char *tzname[]; /* RS6000 and others reject char **tzname. */
@@ -13754,6 +13755,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
+#include <string.h>
typedef long long int ac_int64;
#define INT64_FORMAT "%${pgac_modifier}d"