From ee6fd1c392af19c7390bd1f8e25215fbd968a2c1 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 19 Nov 1997 18:51:35 +0000 Subject: [PATCH] Add declaration for _Py_PackageContext -- needed to fix importing of shared libraries from inside packages. --- Include/modsupport.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Include/modsupport.h b/Include/modsupport.h index 654532941d7..5c00241ec71 100644 --- a/Include/modsupport.h +++ b/Include/modsupport.h @@ -111,6 +111,8 @@ extern PyObject *Py_InitModule4 Py_PROTO((char *, PyMethodDef *, Py_InitModule4(name, methods, (char *)NULL, (PyObject *)NULL, \ PYTHON_API_VERSION) +extern char *_Py_PackageContext; + #ifdef __cplusplus } #endif