--- collectd-5.12.0.orig/src/cpython.h 2026-10-18 06:38:17.191234409 +0200 +++ collectd-5.12.0/src/cpython.h 2026-10-18 06:38:17.200566392 +0200 @@ -26,7 +26,9 @@ /* Some python versions don't include this by default. */ +#if PY_VERSION_HEX < 0x030B0000 #include +#endif /* These two macros are basically Py_BEGIN_ALLOW_THREADS and * Py_BEGIN_ALLOW_THREADS