summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-29 22:27:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-29 22:27:25 (GMT)
commit4feabc8632f5c718dd3e41f6c35222d1de25f109 (patch)
tree7def2b08f36461671b0d0860320a7a935698324d
parentdd7b39e0035e59330a7fac9779d8f19902502c9b (diff)
downloadtk-4feabc8632f5c718dd3e41f6c35222d1de25f109.zip
tk-4feabc8632f5c718dd3e41f6c35222d1de25f109.tar.gz
tk-4feabc8632f5c718dd3e41f6c35222d1de25f109.tar.bz2
Fix [https://core.tcl-lang.org/tcl/info/43d371ac19|43d371ac19]: Usage of exit() without including <stdlib.h> in unix/configure
-rwxr-xr-xunix/configure1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure
index f83e965..45c2043 100755
--- a/unix/configure
+++ b/unix/configure
@@ -2986,6 +2986,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <ctype.h>
+#include <stdlib.h>
#if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))