1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s4: Include Python.h early to avoid double definition errors.

This commit is contained in:
Jelmer Vernooij 2010-01-20 15:07:09 +13:00
parent e8a99ac980
commit c42242d132
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Python.h>
#include "replace.h"
#include <talloc.h>
#include <pytalloc.h>

View File

@ -41,6 +41,7 @@
/* */
/*****************************************************/
#include <Python.h>
#include "includes.h"
#include "utils/net/net.h"
#include "lib/cmdline/popt_common.h"
@ -49,7 +50,6 @@
#include "param/param.h"
#include "lib/events/events.h"
#include "auth/credentials/credentials.h"
#include <Python.h>
#include "scripting/python/modules.h"
static PyObject *py_tuple_from_argv(int argc, const char *argv[])