From 72383bc65b046f50f9579383676064fbba297cf6 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Mon, 13 Nov 2023 10:08:32 +0300 Subject: [PATCH] bugfix: Add missing C stdlib includes --- src/pympivendor.h | 3 +++ src/python.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/pympivendor.h b/src/pympivendor.h index 6aa2b7525..b6c6c5da0 100644 --- a/src/pympivendor.h +++ b/src/pympivendor.h @@ -1,6 +1,9 @@ /* Author: Lisandro Dalcin */ /* Contact: dalcinl@gmail.com */ +#include +#include + static int PyMPI_Get_vendor(const char **vendor_name, int *version_major, int *version_minor, diff --git a/src/python.c b/src/python.c index e84b11997..ca202713c 100644 --- a/src/python.c +++ b/src/python.c @@ -61,6 +61,8 @@ main(int argc, char **argv) #if !defined(PYPY_VERSION) #if PY_MAJOR_VERSION >= 3 && PY_VERSION_HEX < 0x03070000 +#include +#include #include static wchar_t **mk_wargs(int, char **);