summaryrefslogtreecommitdiff
path: root/devel/py-qt5-sip/files/patch-siplib.c
blob: 7728d0fddd2fd4905e5782820e6633b365c3a5b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- siplib.c.orig	2024-12-12 10:01:35 UTC
+++ siplib.c
@@ -12,6 +12,12 @@
 #include <Python.h>
 #include <datetime.h>
 #include <frameobject.h>
+#if PY_VERSION_HEX >= 0x030b00a6
+   #ifndef Py_BUILD_CORE
+     #define Py_BUILD_CORE 1
+   #endif
+   #include "internal/pycore_frame.h"
+#endif
 
 #include <assert.h>
 #include <stdio.h>