diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-05-28 10:24:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-28 10:24:00 (GMT) |
commit | 9ea277a788eabec102e8fe613b7f1e27995d5918 (patch) | |
tree | b9db0d37a7bed41cf34142132ade1cd73d6ec947 /Python/dynload_hpux.c | |
parent | bafd4b5ac83b6cc0b7455290a04c4bfad34bdc90 (diff) | |
download | cpython-9ea277a788eabec102e8fe613b7f1e27995d5918.zip cpython-9ea277a788eabec102e8fe613b7f1e27995d5918.tar.gz cpython-9ea277a788eabec102e8fe613b7f1e27995d5918.tar.bz2 |
bpo-36900: Fix compilation on HP-UX (GH-13614)
dynload_hpux.c: add #include "pycore_pystate.h" for
_PyInterpreterState_GET_UNSAFE().
Diffstat (limited to 'Python/dynload_hpux.c')
-rw-r--r-- | Python/dynload_hpux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/dynload_hpux.c b/Python/dynload_hpux.c index da9baa4..e59d004 100644 --- a/Python/dynload_hpux.c +++ b/Python/dynload_hpux.c @@ -6,6 +6,7 @@ #include "Python.h" #include "importdl.h" +#include "pycore_pystate.h" #if defined(__hp9000s300) #define FUNCNAME_PATTERN "_%.20s_%.200s" |