Avoid using a utility header for Python replacements included in Samba,
[kai/samba-autobuild/.git] / lib / tdb / pytdb.c
index f2e094423cee72271881a1a9f26d039b829f1d59..15a8d8a3e212c0995bf6acc194c4c7e875e23854 100644 (file)
    License along with this library; if not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "../lib/util/python_util.h"
+#include <Python.h>
+#ifndef Py_RETURN_NONE
+#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
+#endif
+
 #ifdef HAVE_FSTAT
 #undef HAVE_FSTAT
 #endif