summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-06-12 11:45:39 +0200
committerStefan Metzmacher <metze@samba.org>2015-06-12 17:08:20 +0200
commit70737dd5512df3838e985137715352930ee438df (patch)
tree2223967ab7d51fd8d1363b860149140785ae1acf
parentcf7e1c7597dac52c4efd37da1d8130899bfd7509 (diff)
downloadsamba-70737dd5512df3838e985137715352930ee438df.tar.gz
s3:pysmbd: #include <Python.h> must be the first include in order to avoid compiler warnings
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>
-rw-r--r--source3/smbd/pysmbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/pysmbd.c b/source3/smbd/pysmbd.c
index 8a3170454eb..df8d0799929 100644
--- a/source3/smbd/pysmbd.c
+++ b/source3/smbd/pysmbd.c
@@ -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>