diff options
| author | dgp@users.sourceforge.net <dgp> | 2012-06-08 13:25:24 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2012-06-08 13:25:24 (GMT) |
| commit | 47fc57545b3d1d2afd584e1b66789f5682a59e5c (patch) | |
| tree | 423de990eac2d2fba9c642cee683bfcbc706a58a /unix/tclUnixPort.h | |
| parent | 386f0466d2384dcda7915d651d580048937f08ee (diff) | |
| parent | b80a4b1460e0213e1fc22364fc46f2eb2efe64c8 (diff) | |
| download | tcl-47fc57545b3d1d2afd584e1b66789f5682a59e5c.zip tcl-47fc57545b3d1d2afd584e1b66789f5682a59e5c.tar.gz tcl-47fc57545b3d1d2afd584e1b66789f5682a59e5c.tar.bz2 | |
3530533 Centralize #include <pthread.h> in the tclUnixPort.h header so that
old unix systems that need inclusion in all compilation units are supported.
Update autogoo for gettimeofday(). Thanks Joe English.
Diffstat (limited to 'unix/tclUnixPort.h')
| -rw-r--r-- | unix/tclUnixPort.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index c56988e..5229f58 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -718,6 +718,7 @@ typedef int socklen_t; #define TclpExit exit #ifdef TCL_THREADS +# include <pthread.h> # undef inet_ntoa # define inet_ntoa(x) TclpInetNtoa(x) #endif /* TCL_THREADS */ |
