summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorwart <wart@noemail.net>1999-12-06 01:43:14 (GMT)
committerwart <wart@noemail.net>1999-12-06 01:43:14 (GMT)
commit5a3567416db2d779f1b1dbebbe593f58e65e62d6 (patch)
tree238f729f54620469ceb2e1db51a9f2017ec5b66c /tools
parentbbcea070c701275ee2d955a74b7227af833848ff (diff)
downloadtcl-5a3567416db2d779f1b1dbebbe593f58e65e62d6.zip
tcl-5a3567416db2d779f1b1dbebbe593f58e65e62d6.tar.gz
tcl-5a3567416db2d779f1b1dbebbe593f58e65e62d6.tar.bz2
Added #define around include of <errno.h> so that systems with the
header file (win NT) will pick it up. FossilOrigin-Name: a5dacdb2f3e417df6db53977bb7754e9ac269185
Diffstat (limited to 'tools')
-rw-r--r--tools/man2tcl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/man2tcl.c b/tools/man2tcl.c
index 1b298fa..666b885 100644
--- a/tools/man2tcl.c
+++ b/tools/man2tcl.c
@@ -16,7 +16,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: man2tcl.c,v 1.3 1999/04/16 00:47:40 stanton Exp $
+ * RCS: @(#) $Id: man2tcl.c,v 1.4 1999/12/06 01:43:15 wart Exp $
*/
static char sccsid[] = "@(#) man2tcl.c 1.3 95/08/12 17:34:08";
@@ -24,6 +24,9 @@ static char sccsid[] = "@(#) man2tcl.c 1.3 95/08/12 17:34:08";
#include <stdio.h>
#include <string.h>
#include <ctype.h>
+#ifndef NO_ERRNO_H
+#include <errno.h>
+#endif
/*
* Imported things that aren't defined in header files: