#include "includes.h"
#include "param/param.h"
#include "param/loadparm.h"
+#include <Python.h>
#include "pytalloc.h"
/* There's no Py_ssize_t in 2.4, apparently */
typedef inquiry lenfunc;
#endif
+#ifndef Py_RETURN_NONE
+#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
+#endif
+
#define PyLoadparmContext_AsLoadparmContext(obj) py_talloc_get_ptr(obj)
PyAPI_DATA(PyTypeObject) PyLoadparmContext;