summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/fm/_Fmmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/fm/_Fmmodule.c')
-rw-r--r--Mac/Modules/fm/_Fmmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/fm/_Fmmodule.c b/Mac/Modules/fm/_Fmmodule.c
index 9cafebc..c5ab18a 100644
--- a/Mac/Modules/fm/_Fmmodule.c
+++ b/Mac/Modules/fm/_Fmmodule.c
@@ -5,8 +5,12 @@
+#ifdef _WIN32
+#include "pywintoolbox.h"
+#else
#include "macglue.h"
#include "pymactoolbox.h"
+#endif
/* Macro to test whether a weak-loaded CFM function exists */
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\