summaryrefslogtreecommitdiffstats
path: root/win/tkWinInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/tkWinInt.h')
-rw-r--r--win/tkWinInt.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/win/tkWinInt.h b/win/tkWinInt.h
index 93b98ca..36aa6a4 100644
--- a/win/tkWinInt.h
+++ b/win/tkWinInt.h
@@ -14,18 +14,20 @@
#ifndef _TKWININT
#define _TKWININT
-#ifndef _TKINT
-#include "tkInt.h"
-#endif
-
/*
- * Include platform specific public interfaces.
+ * Include platform specific public interfaces as the very first step. This is
+ * necessary because definitions provided by subsequent header files depend on
+ * the interface versions defined in tkWin.h
*/
#ifndef _TKWIN
#include "tkWin.h"
#endif
+#ifndef _TKINT
+#include "tkInt.h"
+#endif
+
/*
* Define constants missing from older Win32 SDK header files.
*/