From 3050f8328862c7c77d3d692453bd9cc0885824e5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 23 Oct 2009 16:23:01 +1100 Subject: s4-python: we need to include Python.h first If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes. --- libcli/nbt/pynbt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcli/nbt/pynbt.c') diff --git a/libcli/nbt/pynbt.c b/libcli/nbt/pynbt.c index 9be6c79a8b..425ad13c6d 100644 --- a/libcli/nbt/pynbt.c +++ b/libcli/nbt/pynbt.c @@ -17,8 +17,8 @@ along with this program. If not, see . */ -#include "includes.h" #include +#include "includes.h" #include "libcli/util/pyerrors.h" #include "scripting/python/modules.h" #include "../libcli/nbt/libnbt.h" -- cgit