diff options
author | nijtmans <nijtmans> | 2010-01-13 06:46:56 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-01-13 06:46:56 (GMT) |
commit | 4823387a0b6e54dc2e2c9718e2b729224fb7260a (patch) | |
tree | b75b8bc167a7e17a11d9b03e2f9f37e3ff845fde /win/cat.c | |
parent | 56d7490c09f06016e69f254acddad4390e66e924 (diff) | |
download | tcl-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.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |