diff options
author | Guilherme Polo <ggpolo@gmail.com> | 2009-04-05 02:11:19 +0000 |
---|---|---|
committer | Guilherme Polo <ggpolo@gmail.com> | 2009-04-05 02:11:19 +0000 |
commit | 5d64c330dd4f64f7dc1d8e05c710620e5aab16ec (patch) | |
tree | bf2ae8e8459f4fcd864ba1777d7ad09d2513035e /Modules/_tkinter.c | |
parent | 37d89a295540bb56e230a4935912f0fe5bdd0301 (diff) | |
download | cpython-git-5d64c330dd4f64f7dc1d8e05c710620e5aab16ec.tar.gz |
Include tkinter.h only after including tk.h (or the equivalent for another platform).
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r-- | Modules/_tkinter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 775598cc5a..ea36297c38 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -33,8 +33,6 @@ Copyright (C) 1994 Steen Lumholt. #include <windows.h> #endif -#include "tkinter.h" - /* Allow using this code in Python 2.[12] */ #ifndef PyDoc_STRVAR #define PyDoc_STRVAR(name,str) static char name[] = str @@ -69,6 +67,8 @@ Copyright (C) 1994 Steen Lumholt. #include <tk.h> #endif +#include "tkinter.h" + /* For Tcl 8.2 and 8.3, CONST* is not defined (except on Cygwin). */ #ifndef CONST84_RETURN #define CONST84_RETURN |