From: Peter Eisentraut Date: Thu, 25 Nov 2021 13:19:22 +0000 (+0100) Subject: Remove unneeded Python includes X-Git-Tag: REL_11_15~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a83b1bab0bdb341f952fc982899be70284c11bdc;p=thirdparty%2Fpostgresql.git Remove unneeded Python includes Inluding and has not been necessary since Python 2.4, since they are included via . Morever, is being removed in Python 3.11. So remove these includes. Reviewed-by: Tom Lane Discussion: https://www.postgresql.org/message-id/flat/84884.1637723223%40sss.pgh.pa.us --- diff --git a/src/pl/plpython/plpython.h b/src/pl/plpython/plpython.h index 5c2e6a83f30..3177b56d1c2 100644 --- a/src/pl/plpython/plpython.h +++ b/src/pl/plpython/plpython.h @@ -121,9 +121,6 @@ typedef int Py_ssize_t; #undef TEXTDOMAIN #define TEXTDOMAIN PG_TEXTDOMAIN("plpython") -#include -#include - /* put back our snprintf and vsnprintf */ #ifdef USE_REPL_SNPRINTF #ifdef snprintf