1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

Fix compiler warning.

This commit is contained in:
Tim Potter -
parent 6326b0f0b4
commit 74c1cd0040
2 changed files with 8 additions and 3 deletions

View File

@ -27,6 +27,14 @@
*/
#include "includes.h"
/* This symbol is used in both includes.h and Python.h which causes an
annoying compiler warning. */
#ifdef HAVE_FSTAT
#undef HAVE_FSTAT
#endif
#include "Python.h"
/* Tdb exception */

View File

@ -21,9 +21,6 @@
#ifndef _PY_WINREG_H
#define _PY_WINREG_H
#include "includes.h"
#include "Python.h"
#include "python/py_common.h"
#endif /* _PY_WINREG_H */