mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +03:00
s4-python: we need to include Python.h first
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes.
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <Python.h>
|
||||
#include "includes.h"
|
||||
#include "ldb.h"
|
||||
#include "ldb_errors.h"
|
||||
@ -27,7 +28,6 @@
|
||||
#include "lib/ldb-samba/ldif_handlers.h"
|
||||
#include "librpc/ndr/libndr.h"
|
||||
#include "version.h"
|
||||
#include <Python.h>
|
||||
#include "lib/ldb/pyldb.h"
|
||||
#include "libcli/util/pyerrors.h"
|
||||
#include "libcli/security/security.h"
|
||||
|
Reference in New Issue
Block a user