diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-11-25 14:19:22 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-11-25 14:31:01 +0100 |
commit | 0d335cbd5c63009576280ff502b31a84e353a86b (patch) | |
tree | 4e038af52f73727262de739234a78feb9ba7c81e /src | |
parent | 216156fec3d885842e2ceffa3a5321fbcd2fe575 (diff) | |
download | postgresql-0d335cbd5c63009576280ff502b31a84e353a86b.tar.gz postgresql-0d335cbd5c63009576280ff502b31a84e353a86b.zip |
Remove unneeded Python includes
Inluding <compile.h> and <eval.h> has not been necessary since Python
2.4, since they are included via <Python.h>. Morever, <eval.h> is
being removed in Python 3.11. So remove these includes.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/84884.1637723223%40sss.pgh.pa.us
Diffstat (limited to 'src')
-rw-r--r-- | src/pl/plpython/plpython.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pl/plpython/plpython.h b/src/pl/plpython/plpython.h index 3a1f0d56d7c..209f604579d 100644 --- a/src/pl/plpython/plpython.h +++ b/src/pl/plpython/plpython.h @@ -124,9 +124,6 @@ typedef int Py_ssize_t; #undef TEXTDOMAIN #define TEXTDOMAIN PG_TEXTDOMAIN("plpython") -#include <compile.h> -#include <eval.h> - /* put back our *printf macros ... this must match src/include/port.h */ #ifdef vsnprintf #undef vsnprintf |