summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-04-27 12:36:21 (GMT)
committernijtmans <nijtmans>2010-04-27 12:36:21 (GMT)
commitf7b4327454669c5f4b4c8ffb934734279b61ada9 (patch)
tree9f02a90b630ea9c23e9e80086649e4e3306330bc /compat
parent0d984b7ada501f2f945b60fcb181532452ee09f2 (diff)
downloadtcl-f7b4327454669c5f4b4c8ffb934734279b61ada9.zip
tcl-f7b4327454669c5f4b4c8ffb934734279b61ada9.tar.gz
tcl-f7b4327454669c5f4b4c8ffb934734279b61ada9.tar.bz2
If tclInt.h or tclPort.h is already
included, don't include <limits.h> again. Follow-up to [Bug 2991415]: tclport.h #included before limits.h See comments in [Bug 2991415]
Diffstat (limited to 'compat')
-rw-r--r--compat/strtod.c3
-rw-r--r--compat/strtol.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/compat/strtod.c b/compat/strtod.c
index 7171101..89ad625 100644
--- a/compat/strtod.c
+++ b/compat/strtod.c
@@ -9,11 +9,10 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: strtod.c,v 1.10 2010/03/04 22:29:05 nijtmans Exp $
+ * RCS: @(#) $Id: strtod.c,v 1.11 2010/04/27 12:36:23 nijtmans Exp $
*/
#include "tclInt.h"
-#include <ctype.h>
#ifndef TRUE
#define TRUE 1
diff --git a/compat/strtol.c b/compat/strtol.c
index 85c2520..1c52a9e 100644
--- a/compat/strtol.c
+++ b/compat/strtol.c
@@ -9,10 +9,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: strtol.c,v 1.7 2008/04/27 22:21:28 dkf Exp $
+ * RCS: @(#) $Id: strtol.c,v 1.8 2010/04/27 12:36:23 nijtmans Exp $
*/
-#include <ctype.h>
#include "tclInt.h"
/*