bpo-36900: Fix compilation on HP-UX (GH-13614)

dynload_hpux.c: add #include "pycore_pystate.h" for
_PyInterpreterState_GET_UNSAFE().
This commit is contained in:
Victor Stinner 2019-05-28 12:24:00 +02:00 committed by GitHub
parent bafd4b5ac8
commit 9ea277a788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include "Python.h" #include "Python.h"
#include "importdl.h" #include "importdl.h"
#include "pycore_pystate.h"
#if defined(__hp9000s300) #if defined(__hp9000s300)
#define FUNCNAME_PATTERN "_%.20s_%.200s" #define FUNCNAME_PATTERN "_%.20s_%.200s"