summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2010-04-27 12:36:20 (GMT)
committernijtmans <nijtmans@noemail.net>2010-04-27 12:36:20 (GMT)
commit168677cb642d8fb587d60008c482e93487d379ec (patch)
tree9f02a90b630ea9c23e9e80086649e4e3306330bc /compat
parente9e0e78703053faf0be0198215f3f6b1a8efbd16 (diff)
downloadtcl-168677cb642d8fb587d60008c482e93487d379ec.zip
tcl-168677cb642d8fb587d60008c482e93487d379ec.tar.gz
tcl-168677cb642d8fb587d60008c482e93487d379ec.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] FossilOrigin-Name: b7c55dd4bff714c0d799cc3972956b79eee2a6ff
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"
/*