summaryrefslogtreecommitdiffstats
path: root/Python/dynload_hpux.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-28 10:24:00 (GMT)
committerGitHub <noreply@github.com>2019-05-28 10:24:00 (GMT)
commit9ea277a788eabec102e8fe613b7f1e27995d5918 (patch)
treeb9db0d37a7bed41cf34142132ade1cd73d6ec947 /Python/dynload_hpux.c
parentbafd4b5ac83b6cc0b7455290a04c4bfad34bdc90 (diff)
downloadcpython-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.c1
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"