diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-15 17:32:13 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-15 17:32:13 (GMT) |
| commit | 5cf419514b633f9687131ef2489e6ed6aeeed42a (patch) | |
| tree | bde14dee2ae7e6ac207fdcf9e4a51eb50b462211 /unix/tclUnixPort.h | |
| parent | 824bab6a803b00b53de2ecdc954dceaabb3f8e0a (diff) | |
| parent | 33f5c1d86420521a6cc4131eb67f01c50750ae42 (diff) | |
| download | tcl-5cf419514b633f9687131ef2489e6ed6aeeed42a.zip tcl-5cf419514b633f9687131ef2489e6ed6aeeed42a.tar.gz tcl-5cf419514b633f9687131ef2489e6ed6aeeed42a.tar.bz2 | |
[Bug 3598300]: unix: tcl.h does not include sys/stat.h
Diffstat (limited to 'unix/tclUnixPort.h')
| -rw-r--r-- | unix/tclUnixPort.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 0aa765a..32d14e1 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -283,7 +283,7 @@ MODULE_SCOPE int TclUnixSetBlockingMode(int fd, int mode); #endif #ifdef GETTOD_NOT_DECLARED -EXTERN int gettimeofday (struct timeval *tp, +extern int gettimeofday (struct timeval *tp, struct timezone *tzp); #endif @@ -627,8 +627,6 @@ typedef int socklen_t; #ifdef TCL_THREADS # include <pthread.h> -EXTERN struct tm *TclpLocaltime(CONST time_t *); -EXTERN struct tm *TclpGmtime(CONST time_t *); /* #define localtime(x) TclpLocaltime(x) * #define gmtime(x) TclpGmtime(x) */ # undef inet_ntoa @@ -646,7 +644,7 @@ EXTERN struct tm *TclpGmtime(CONST time_t *); # ifdef HAVE_PTHREAD_GETATTR_NP # define TclpPthreadGetAttrs pthread_getattr_np # ifdef GETATTRNP_NOT_DECLARED -EXTERN int pthread_getattr_np (pthread_t, pthread_attr_t *); +extern int pthread_getattr_np (pthread_t, pthread_attr_t *); # endif # endif /* HAVE_PTHREAD_GETATTR_NP */ # endif /* HAVE_PTHREAD_ATTR_GET_NP */ |
