summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 8684757..6ff13eb 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -626,6 +626,7 @@ typedef int socklen_t;
#define TclpExit exit
#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)
@@ -639,7 +640,6 @@ EXTERN struct tm *TclpGmtime(CONST time_t *);
* Assume it is in pthread_np.h if it isn't in pthread.h. [Bug 1064882]
* We might need to revisit this in the future. :^(
*/
-# include <pthread.h>
# include <pthread_np.h>
# endif
# else