summaryrefslogtreecommitdiffstats
path: root/win/cat.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-01-13 06:46:56 (GMT)
committernijtmans <nijtmans>2010-01-13 06:46:56 (GMT)
commit4823387a0b6e54dc2e2c9718e2b729224fb7260a (patch)
treeb75b8bc167a7e17a11d9b03e2f9f37e3ff845fde /win/cat.c
parent56d7490c09f06016e69f254acddad4390e66e924 (diff)
downloadtcl-4823387a0b6e54dc2e2c9718e2b729224fb7260a.zip
tcl-4823387a0b6e54dc2e2c9718e2b729224fb7260a.tar.gz
tcl-4823387a0b6e54dc2e2c9718e2b729224fb7260a.tar.bz2
Fix TCL_LL_MODIFIER for Cygwin
and various other minor CYGWIN compilation problems
Diffstat (limited to 'win/cat.c')
-rw-r--r--win/cat.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/win/cat.c b/win/cat.c
index d1a7338..c91e0d2 100644
--- a/win/cat.c
+++ b/win/cat.c
@@ -8,11 +8,15 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: cat.c,v 1.4 2008/10/16 22:34:19 nijtmans Exp $
+ * RCS: @(#) $Id: cat.c,v 1.5 2010/01/13 06:46:56 nijtmans Exp $
*/
#include <stdio.h>
-#include <io.h>
+#ifdef __CYGWIN__
+# include <unistd.h>
+#else
+# include <io.h>
+#endif
#include <string.h>
int