summaryrefslogtreecommitdiffstats
path: root/generic/tkTreeNotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkTreeNotify.c')
-rw-r--r--generic/tkTreeNotify.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tkTreeNotify.c b/generic/tkTreeNotify.c
index aeb1990..03ae0ae 100644
--- a/generic/tkTreeNotify.c
+++ b/generic/tkTreeNotify.c
@@ -1,5 +1,11 @@
#include "tkTreeCtrl.h"
+/* tkMacOSXPort.h should include this, I think, like the other platform
+ * tk*Port.h files. Needed for TclFormatInt() */
+#if defined(MAC_OSX_TK)
+#include "tclInt.h"
+#endif
+
static int EVENT_EXPAND,
DETAIL_EXPAND_BEFORE,
DETAIL_EXPAND_AFTER;