git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8a398
)
lib/tdb: include replace.h and system/filesys.h in pytdb.c
author
Stefan Metzmacher
<metze@samba.org>
Fri, 30 Jan 2009 18:38:59 +0000
(19:38 +0100)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/lib/tdb/pytdb.c
b/lib/tdb/pytdb.c
index 15a8d8a3e212c0995bf6acc194c4c7e875e23854..60aae9fd867899532852af89ad44f8c9805d2345 100644
(file)
--- a/
lib/tdb/pytdb.c
+++ b/
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