diff --git a/src/cpython.h b/src/cpython.h
index b5a1754a912132931df542e7d6081b98dc688bb3..2a14ce071795ab50c68c2eabcc058bb227e56f5f 100644 (file)
--- a/src/cpython.h
+++ b/src/cpython.h
* Sven Trenkel <collectd at semidefinite.de>
**/
+/* Some python versions don't include this by default. */
+
+#include <longintrepr.h>
+
/* These two macros are basicly Py_BEGIN_ALLOW_THREADS and Py_BEGIN_ALLOW_THREADS
* from the other direction. If a Python thread calls a C function
* Py_BEGIN_ALLOW_THREADS is used to allow other python threads to run because