summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-30 19:38:59 +0100
committerStefan Metzmacher <metze@samba.org>2009-12-16 08:03:51 +0100
commita60db0255beb49ccd7d74eb22e4c09e240e1285b (patch)
tree1f168bf29c220afb9bdd03bdcd2b217ba5fc8d6b /ctdb
parentc0131bbcc7d238eb755ca260fc8f976e29d51292 (diff)
downloadsamba-a60db0255beb49ccd7d74eb22e4c09e240e1285b.tar.gz
samba-a60db0255beb49ccd7d74eb22e4c09e240e1285b.tar.xz
samba-a60db0255beb49ccd7d74eb22e4c09e240e1285b.zip
lib/tdb: include replace.h and system/filesys.h in pytdb.c
This fixes the build on Tru64. metze (cherry picked from samba commit 3718cf294ad1f3e00178cb34b2c914c9aecf2016) Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit 5652e403be099f35cdd29fda8ba4fe2c35de8035)
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/lib/tdb/pytdb.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ctdb/lib/tdb/pytdb.c b/ctdb/lib/tdb/pytdb.c
index 15a8d8a3e2..60aae9fd86 100644
--- a/ctdb/lib/tdb/pytdb.c
+++ b/ctdb/lib/tdb/pytdb.c
@@ -24,6 +24,9 @@
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "replace.h"
+#include "system/filesys.h"
+
#include <Python.h>
#ifndef Py_RETURN_NONE
#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
@@ -34,11 +37,7 @@
#endif
/* Include tdb headers */
-#include <stdint.h>
-#include <signal.h>
#include <tdb.h>
-#include <fcntl.h>
-#include <stdbool.h>
typedef struct {
PyObject_HEAD