From: Victor Stinner Date: Tue, 28 May 2019 10:24:00 +0000 (+0200) Subject: bpo-36900: Fix compilation on HP-UX (GH-13614) X-Git-Tag: v3.8.0b1~173 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ea277a788eabec102e8fe613b7f1e27995d5918;p=thirdparty%2FPython%2Fcpython.git bpo-36900: Fix compilation on HP-UX (GH-13614) dynload_hpux.c: add #include "pycore_pystate.h" for _PyInterpreterState_GET_UNSAFE(). --- 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"