summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-06-08 13:25:24 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-06-08 13:25:24 (GMT)
commite39d5419c36351fd1e67f48b94934998ddf15785 (patch)
tree423de990eac2d2fba9c642cee683bfcbc706a58a /unix/tclUnixPort.h
parent1c287f81b4cc32553c3336ad9f095f0e422b7116 (diff)
parent7e302d3ca75cd9eb6998e895cf344665b1d08e5e (diff)
downloadtcl-e39d5419c36351fd1e67f48b94934998ddf15785.zip
tcl-e39d5419c36351fd1e67f48b94934998ddf15785.tar.gz
tcl-e39d5419c36351fd1e67f48b94934998ddf15785.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.h1
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 */