summaryrefslogtreecommitdiff
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index f619032ea8..e068872192 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -59,7 +59,7 @@ PERFORMANCE OF THIS SOFTWARE.
#include <ctype.h>
#ifdef WITH_THREAD
-#include "thread.h"
+#include "pythread.h"
#endif
#ifdef MS_WINDOWS
@@ -71,6 +71,10 @@ PERFORMANCE OF THIS SOFTWARE.
#include "myselect.h"
#endif
+#ifdef PYOS_OS2
+#include "myselect.h"
+#endif
+
#include <tcl.h>
#include <tk.h>