Skip to content

Commit 9528886

Browse files
committed
For Windows, need to add #include <windows.h>.
1 parent 313a3e3 commit 9528886

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/importdl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ extern PyObject *_PyImport_LoadDynamicModule
6464
#define MAXSUFFIXSIZE 12
6565

6666
#ifdef MS_WINDOWS
67+
#include <windows.h>
6768
typedef FARPROC dl_funcptr;
6869
#else
6970
#ifdef PYOS_OS2

0 commit comments

Comments
 (0)