summaryrefslogtreecommitdiff
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-12-20 22:55:03 +0000
committerGuido van Rossum <guido@python.org>1999-12-20 22:55:03 +0000
commit40aa37c118a07abdfa4b1dc515cc0b0d277052c6 (patch)
tree9dd28bb7718375ccc8fcef6ee60e840c43f8e9fe /Python/importdl.h
parent916b4e382aca33c3969bc8b01b86ccbdca16e69d (diff)
downloadcpython-40aa37c118a07abdfa4b1dc515cc0b0d277052c6.tar.gz
For Windows, need to add #include <windows.h>.
Diffstat (limited to 'Python/importdl.h')
-rw-r--r--Python/importdl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/importdl.h b/Python/importdl.h
index 5c729a8713..0556313c79 100644
--- a/Python/importdl.h
+++ b/Python/importdl.h
@@ -64,6 +64,7 @@ extern PyObject *_PyImport_LoadDynamicModule
#define MAXSUFFIXSIZE 12
#ifdef MS_WINDOWS
+#include <windows.h>
typedef FARPROC dl_funcptr;
#else
#ifdef PYOS_OS2