s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4
[tprouty/samba.git] / source4 / lib / ldb / pyldb.c
index 521fa498aa568ea2e4cedb345583fd60baae24c6..b7a78e8f531607ff48a05e287d0af776eca865da 100644 (file)
@@ -26,6 +26,7 @@
 */
 
 #include "ldb_includes.h"
+#include "../lib/util/python_util.h"
 #include "pyldb.h"
 
 /* There's no Py_ssize_t in 2.4, apparently */