summaryrefslogtreecommitdiff
path: root/libcli/nbt/pynbt.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-23 16:23:01 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-23 16:23:01 +1100
commit3050f8328862c7c77d3d692453bd9cc0885824e5 (patch)
tree2c49a56892335d182a26b9072082f28e0152b830 /libcli/nbt/pynbt.c
parente34106ca8b001d75182975a89145ded75dc6619d (diff)
downloadsamba-3050f8328862c7c77d3d692453bd9cc0885824e5.tar.gz
samba-3050f8328862c7c77d3d692453bd9cc0885824e5.tar.bz2
samba-3050f8328862c7c77d3d692453bd9cc0885824e5.zip
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.
Diffstat (limited to 'libcli/nbt/pynbt.c')
-rw-r--r--libcli/nbt/pynbt.c2
1 files changed, 1 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
*/
-#include "includes.h"
#include <Python.h>
+#include "includes.h"
#include "libcli/util/pyerrors.h"
#include "scripting/python/modules.h"
#include "../libcli/nbt/libnbt.h"