summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/drag/_Dragmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/drag/_Dragmodule.c')
-rw-r--r--Mac/Modules/drag/_Dragmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/drag/_Dragmodule.c b/Mac/Modules/drag/_Dragmodule.c
index 6e35e03..5312023 100644
--- a/Mac/Modules/drag/_Dragmodule.c
+++ b/Mac/Modules/drag/_Dragmodule.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 ) {\