summaryrefslogtreecommitdiff
path: root/net-mgmt/collectd5/files/patch-src_cpython.h
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/collectd5/files/patch-src_cpython.h')
-rw-r--r--net-mgmt/collectd5/files/patch-src_cpython.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/collectd5/files/patch-src_cpython.h b/net-mgmt/collectd5/files/patch-src_cpython.h
new file mode 100644
index 000000000000..78fc41236fb8
--- /dev/null
+++ b/net-mgmt/collectd5/files/patch-src_cpython.h
@@ -0,0 +1,11 @@
+--- src/cpython.h.orig 2020-07-20 09:50:14 UTC
++++ src/cpython.h
+@@ -26,7 +26,7 @@
+
+ /* Some python versions don't include this by default. */
+
+-#include <longintrepr.h>
++#include <python3.11/cpython/longintrepr.h>
+
+ /* These two macros are basically Py_BEGIN_ALLOW_THREADS and
+ * Py_BEGIN_ALLOW_THREADS