git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09369aa
)
pytdb: Include Python.h first to prevent warning.
author
Jelmer Vernooij
<jelmer@samba.org>
Sat, 2 Oct 2010 21:40:19 +0000
(23:40 +0200)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 7 Oct 2010 04:48:30 +0000
(15:18 +1030)
lib/tdb/pytdb.c
patch
|
blob
|
history
diff --git
a/lib/tdb/pytdb.c
b/lib/tdb/pytdb.c
index 009063359f7b7f9f116a96fc33da5fe1401caf6b..15fec21e53004ce62bffbdf83cdde0628185fd6b 100644
(file)
--- a/
lib/tdb/pytdb.c
+++ b/
lib/tdb/pytdb.c
@@
-24,10
+24,10
@@
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include <Python.h>
#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