]> granicus.if.org Git - python/commitdiff
For Windows, need to add #include <windows.h>.
authorGuido van Rossum <guido@python.org>
Mon, 20 Dec 1999 22:55:03 +0000 (22:55 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 20 Dec 1999 22:55:03 +0000 (22:55 +0000)
Python/importdl.h

index 5c729a87139b99cbf3826fec93f36d3eaf75817a..0556313c798d824ba39bf57a6f6fe9cac56a6eda 100644 (file)
@@ -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