summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwart <wart>1999-12-06 01:43:15 (GMT)
committerwart <wart>1999-12-06 01:43:15 (GMT)
commit567d7c2cacc82b11710e8969d0bb00d68daffeee (patch)
tree238f729f54620469ceb2e1db51a9f2017ec5b66c
parent1e47168d1392ee2d05d5909823934d61e252353a (diff)
downloadtcl-567d7c2cacc82b11710e8969d0bb00d68daffeee.zip
tcl-567d7c2cacc82b11710e8969d0bb00d68daffeee.tar.gz
tcl-567d7c2cacc82b11710e8969d0bb00d68daffeee.tar.bz2
Added #define around include of <errno.h> so that systems with the
header file (win NT) will pick it up.
-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: