summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-06-23 09:34:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-06-23 09:34:22 (GMT)
commit2a8aa84ebc2dcbc33bab05beae43aea5309afa64 (patch)
tree046f4015b0fc954822a68fdbcb571fd7670a8d46 /generic/tkInt.h
parent1c0e7e8d9fc0af72fe31e347374aa13e9a0fc055 (diff)
parent28381035e979943ffb752e4dbb73a9fcf2f52a8a (diff)
downloadtk-2a8aa84ebc2dcbc33bab05beae43aea5309afa64.zip
tk-2a8aa84ebc2dcbc33bab05beae43aea5309afa64.tar.gz
tk-2a8aa84ebc2dcbc33bab05beae43aea5309afa64.tar.bz2
Fix [a9929f112a]: Bugs in the implementation of TIP 577 ("Enhanced index values for Tk").
Remove compat/stdint.h, since stdint.h is available in all modern C compilers
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index c3b875c..266b965 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -31,6 +31,8 @@
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
+#include <stdint.h>
+#include <stdlib.h>
#ifdef BYTE_ORDER
# ifdef BIG_ENDIAN
# if BYTE_ORDER == BIG_ENDIAN