#include <ctype.h>
#ifdef WITH_THREAD
-#include "thread.h"
+#include "pythread.h"
#endif
#ifdef MS_WINDOWS
#include "myselect.h"
#endif
+#ifdef PYOS_OS2
+#include "myselect.h"
+#endif
+
#include <tcl.h>
#include <tk.h>
#include "Python.h"
#ifdef WITH_THREAD
-#include "thread.h"
+#include "pythread.h"
#endif
#include <sys/types.h>
#ifdef WITH_THREAD
#include <sys/types.h> /* For pid_t */
-#include "thread.h"
+#include "pythread.h"
static long main_thread;
static pid_t main_pid;
#endif
#include "Python.h"
#if defined(WITH_THREAD) && !defined(HAVE_GETHOSTBYNAME_R) && !defined(MS_WINDOWS)
-#include "thread.h"
+#include "pythread.h"
#endif
#ifdef HAVE_UNISTD_H
#ifdef WITH_THREAD
-#include "thread.h"
+#include "pythread.h"
static type_lock StdwinLock; /* Lock held when interpreter not locked */
#error "Then run `make clean' followed by `make'."
#endif
-#include "thread.h"
+#include "pythread.h"
static PyObject *ThreadError;
#ifdef WITH_THREAD
#include <errno.h>
-#include "thread.h"
+#include "pythread.h"
extern int _PyThread_Started; /* Flag for Py_Exit */
#ifdef WITH_THREAD
-#include "thread.h"
+#include "pythread.h"
static type_lock import_lock = 0;
static long import_lock_thread = -1;
/* Clean up and exit */
#ifdef WITH_THREAD
-#include "thread.h"
+#include "pythread.h"
int _PyThread_Started = 0; /* Set by threadmodule.c and maybe others */
#endif
#endif
#endif
-#include "thread.h"
+#include "pythread.h"
#ifdef __ksr__
#define _POSIX_THREADS