diff --git a/[refs] b/[refs] index 675d74fcadad..30dfd8c4a746 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ff9ae1babd8ce88c3f90db6278ea5f55bdcb4624 +refs/heads/master: cfff2d909cbdaf8c467bd321aa0502a548ec8f7e diff --git a/trunk/tools/perf/util/python.c b/trunk/tools/perf/util/python.c index 5317ef229041..a9f2d7e1204d 100644 --- a/trunk/tools/perf/util/python.c +++ b/trunk/tools/perf/util/python.c @@ -8,6 +8,11 @@ #include "cpumap.h" #include "thread_map.h" +/* Define PyVarObject_HEAD_INIT for python 2.5 */ +#ifndef PyVarObject_HEAD_INIT +# define PyVarObject_HEAD_INIT(type, size) PyObject_HEAD_INIT(type) size, +#endif + struct throttle_event { struct perf_event_header header; u64 time;