summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-29 22:29:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-29 22:29:17 (GMT)
commit0421749037c4e70600cfdd94692aed05db839e4a (patch)
treed891802119280bad72df978d5ab082037843bb10
parent4c9bbf09763b8979ce09b90c8d9521685a1154a6 (diff)
parent4feabc8632f5c718dd3e41f6c35222d1de25f109 (diff)
downloadtk-0421749037c4e70600cfdd94692aed05db839e4a.zip
tk-0421749037c4e70600cfdd94692aed05db839e4a.tar.gz
tk-0421749037c4e70600cfdd94692aed05db839e4a.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 79383cb..c00678d 100755
--- a/unix/configure
+++ b/unix/configure
@@ -3049,6 +3049,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))