summaryrefslogtreecommitdiff
path: root/lib/talloc/pytalloc.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-01-20 15:07:09 +1300
committerJelmer Vernooij <jelmer@samba.org>2010-01-21 16:15:10 +1300
commitc42242d132144fbbdce97bd95f0e24bdf58a2c84 (patch)
tree788962c2fbed15ff5b745aa3928e4b838f2d67e8 /lib/talloc/pytalloc.c
parente8a99ac980ef3700436dc44ad5cab32da642aea6 (diff)
downloadsamba-c42242d132144fbbdce97bd95f0e24bdf58a2c84.tar.gz
samba-c42242d132144fbbdce97bd95f0e24bdf58a2c84.tar.bz2
samba-c42242d132144fbbdce97bd95f0e24bdf58a2c84.zip
s4: Include Python.h early to avoid double definition errors.
Diffstat (limited to 'lib/talloc/pytalloc.c')
-rw-r--r--lib/talloc/pytalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/talloc/pytalloc.c b/lib/talloc/pytalloc.c
index c6decf33f1..ad595a1054 100644
--- a/lib/talloc/pytalloc.c
+++ b/lib/talloc/pytalloc.c
@@ -17,6 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <Python.h>
#include "replace.h"
#include <talloc.h>
#include <pytalloc.h>