mirror of
https://github.com/samba-team/samba.git
synced 2025-07-22 16:59:09 +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,9 +17,9 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <Python.h>
|
||||
#include "includes.h"
|
||||
#include "scripting/python/modules.h"
|
||||
#include <Python.h>
|
||||
|
||||
extern void init_ldb(void);
|
||||
extern void init_security(void);
|
||||
|
Reference in New Issue
Block a user