summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-15 21:06:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-15 21:06:32 (GMT)
commit55804e86ba499482718af840b92ccf663eec5151 (patch)
tree5fff0cb0af06d0029e7279699d13ab36b2ccbd0d /unix/tclUnixPort.h
parentd162505a0b123105a5ef5acee426f2d085dfb740 (diff)
parent0fb607893ae4988adaf4594c35a88ef97086fd60 (diff)
downloadtcl-55804e86ba499482718af840b92ccf663eec5151.zip
tcl-55804e86ba499482718af840b92ccf663eec5151.tar.gz
tcl-55804e86ba499482718af840b92ccf663eec5151.tar.bz2
[Bug 3598300]: unix: tcl.h does not include sys/stat.h
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 63c500d..88cc87e 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -319,7 +319,7 @@ MODULE_SCOPE int TclUnixSetBlockingMode(int fd, int mode);
#endif
#ifdef GETTOD_NOT_DECLARED
-MODULE_SCOPE int gettimeofday(struct timeval *tp,
+extern int gettimeofday(struct timeval *tp,
struct timezone *tzp);
#endif
@@ -744,8 +744,8 @@ MODULE_SCOPE struct group * TclpGetGrGid(gid_t gid);
MODULE_SCOPE struct hostent * TclpGetHostByName(const char *name);
MODULE_SCOPE struct hostent * TclpGetHostByAddr(const char *addr,
int length, int type);
-MODULE_SCOPE Tcl_Channel TclpMakeTcpClientChannelMode(
- ClientData tcpSocket, int mode);
+MODULE_SCOPE void *TclpMakeTcpClientChannelMode(
+ void *tcpSocket, int mode);
#endif /* _TCLUNIXPORT */