s3:pysmbd: #include <Python.h> must be the first include in order to avoid compiler...
authorStefan Metzmacher <metze@samba.org>
Fri, 12 Jun 2015 09:45:39 +0000 (11:45 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Jun 2015 15:08:20 +0000 (17:08 +0200)
This is the only exception, normally "replace.h" or "includes.h" need to be the
first include.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/pysmbd.c

index 8a3170454ebdd47ba4a8bc2d5f3271e3f8ea6875..df8d0799929178d118af0272eb659c65b32b3dd0 100644 (file)
@@ -23,9 +23,9 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+#include <Python.h>
 #include "includes.h"
 #include "smbd/smbd.h"
-#include <Python.h>
 #include "libcli/util/pyerrors.h"
 #include "librpc/rpc/pyrpc_util.h"
 #include <pytalloc.h>