lib/tdb: include replace.h and system/filesys.h in pytdb.c
authorStefan Metzmacher <metze@samba.org>
Fri, 30 Jan 2009 18:38:59 +0000 (19:38 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 30 Jan 2009 18:38:59 +0000 (19:38 +0100)
This fixes the build on Tru64.

metze

lib/tdb/pytdb.c

index 15a8d8a3e212c0995bf6acc194c4c7e875e23854..60aae9fd867899532852af89ad44f8c9805d2345 100644 (file)
@@ -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
 #endif
 
 /* Include tdb headers */
-#include <stdint.h>
-#include <signal.h>
 #include <tdb.h>
-#include <fcntl.h>
-#include <stdbool.h>
 
 typedef struct {
        PyObject_HEAD