summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2008-02-28 20:14:06 (GMT)
committerjenglish <jenglish@flightlab.com>2008-02-28 20:14:06 (GMT)
commite3731492820cee09a934e7a1305b79b6988b7450 (patch)
treec4223d0df8163c3ddaa0f6453bcd43e56995d01b /unix/tclUnixPort.h
parent6e9187684c687eab654ee37f1d4a9aa9caff97a2 (diff)
downloadtcl-e3731492820cee09a934e7a1305b79b6988b7450.zip
tcl-e3731492820cee09a934e7a1305b79b6988b7450.tar.gz
tcl-e3731492820cee09a934e7a1305b79b6988b7450.tar.bz2
Reduce scope of <sys/filio.h> and <sys/ioctl.h> #includes.
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index a7313ca..ed75135 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -19,7 +19,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixPort.h,v 1.63 2008/02/28 20:12:10 jenglish Exp $
+ * RCS: @(#) $Id: tclUnixPort.h,v 1.64 2008/02/28 20:14:12 jenglish Exp $
*/
#ifndef _TCLUNIXPORT
@@ -108,20 +108,6 @@ typedef off_t Tcl_SeekOffset;
#else
# include "../compat/unistd.h"
#endif
-#ifdef USE_FIONBIO
- /*
- * Not using the Posix fcntl(...,O_NONBLOCK,...) interface, instead
- * we are using ioctl(..,FIONBIO,..).
- */
-
-# ifdef HAVE_SYS_FILIO_H
-# include <sys/filio.h> /* For FIONBIO. */
-# endif
-
-# ifdef HAVE_SYS_IOCTL_H
-# include <sys/ioctl.h> /* For FIONBIO. */
-# endif
-#endif /* USE_FIONBIO */
MODULE_SCOPE int TclUnixSetBlockingMode(int fd, int mode);