summaryrefslogtreecommitdiffstats
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-12-20 22:55:03 (GMT)
committerGuido van Rossum <guido@python.org>1999-12-20 22:55:03 (GMT)
commit95288862bb499796e8d4dedc56e0913408316487 (patch)
tree64476aea0a17ec77280276e1c800b096c7ea92c4 /Python/importdl.h
parent313a3e36e7fbe085ea1b5161b8247367855ffc42 (diff)
downloadcpython-95288862bb499796e8d4dedc56e0913408316487.zip
cpython-95288862bb499796e8d4dedc56e0913408316487.tar.gz
cpython-95288862bb499796e8d4dedc56e0913408316487.tar.bz2
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 5c729a8..0556313 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