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:
parent
e8a99ac980
commit
c42242d132
@ -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>
|
||||
|
@ -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[])
|
||||
|
Loading…
x
Reference in New Issue
Block a user