]> granicus.if.org Git - python/commitdiff
bpo-36900: Fix compilation on HP-UX (GH-13614)
authorVictor Stinner <vstinner@redhat.com>
Tue, 28 May 2019 10:24:00 +0000 (12:24 +0200)
committerGitHub <noreply@github.com>
Tue, 28 May 2019 10:24:00 +0000 (12:24 +0200)
dynload_hpux.c: add #include "pycore_pystate.h" for
_PyInterpreterState_GET_UNSAFE().

Python/dynload_hpux.c

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