pidl: Include Python.h first, to avoid warnings.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 20 Jan 2010 03:27:15 +0000 (16:27 +1300)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 21 Jan 2010 03:15:10 +0000 (16:15 +1300)
pidl/lib/Parse/Pidl/Samba4/Python.pm

index 79c72d732fb707e809d4a5f7137b07af40f57cad..015c54dcaceb6512d0c4613c379a85611eb5224b 100644 (file)
@@ -1124,8 +1124,8 @@ sub Parse($$$$$)
 
     $self->pidl_hdr("
 /* Python wrapper functions auto-generated by pidl */
-#include \"includes.h\"
 #include <Python.h>
+#include \"includes.h\"
 #include \"librpc/rpc/dcerpc.h\"
 #include \"lib/talloc/pytalloc.h\"
 #include \"librpc/rpc/pyrpc.h\"