summaryrefslogtreecommitdiff
path: root/ext/tcltklib
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tcltklib')
-rw-r--r--ext/tcltklib/stubs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/tcltklib/stubs.c b/ext/tcltklib/stubs.c
index a1dd08f4a3a..56cc8ca921b 100644
--- a/ext/tcltklib/stubs.c
+++ b/ext/tcltklib/stubs.c
@@ -1,8 +1,6 @@
int ruby_tcltk_stubs();
#if defined USE_TCL_STUBS && defined USE_TK_STUBS
-#include <tcl.h>
-#include <tk.h>
#include "ruby.h"
#if defined _WIN32 || defined __CYGWIN__
@@ -28,6 +26,9 @@ int ruby_tcltk_stubs();
# define TK_NAME "libtk8.9%s"
#endif
+#include <tcl.h>
+#include <tk.h>
+
int
ruby_tcltk_stubs()
{