summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/thread.c b/Python/thread.c
index fcaa10d..d5e026d 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -150,9 +150,13 @@ void PyThread_init_thread _P0()
#include "thread_lwp.h"
#endif
+#ifdef _GNU_PTH
+#include "thread_pth.h"
+#else
#ifdef _POSIX_THREADS
#include "thread_pthread.h"
#endif
+#endif
#ifdef C_THREADS
#include "thread_cthread.h"