Commit cf247359 authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

bpo-31374: Include pyconfig.h earlier in expat (GH-11064)

Include <pyconfig.h> ealier in Modules/expat/xmltok.c to define
properly _POSIX_C_SOURCE. Python defines _POSIX_C_SOURCE as 200809L,
whereas <features.h> (included indirectly by <string.h>) defines
_POSIX_C_SOURCE as 199506L.
parent 2eb6ad85
......@@ -30,6 +30,7 @@
USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <pyconfig.h>
#include <stddef.h>
#include <string.h> /* memcpy */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment