[Python-checkins] bpo-36900: Fix compilation on HP-UX (GH-13614)
Victor Stinner
webhook-mailer at python.org
Tue May 28 06:24:05 EDT 2019
https://github.com/python/cpython/commit/9ea277a788eabec102e8fe613b7f1e27995d5918
commit: 9ea277a788eabec102e8fe613b7f1e27995d5918
branch: master
author: Victor Stinner <vstinner at redhat.com>
committer: GitHub <noreply at github.com>
date: 2019-05-28T12:24:00+02:00
summary:
bpo-36900: Fix compilation on HP-UX (GH-13614)
dynload_hpux.c: add #include "pycore_pystate.h" for
_PyInterpreterState_GET_UNSAFE().
files:
M Python/dynload_hpux.c
diff --git a/Python/dynload_hpux.c b/Python/dynload_hpux.c
index da9baa4b9989..e59d00435ec7 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"
More information about the Python-checkins
mailing list