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:30:12 +0100 |
commit | 1cc13b83eb125fb63eeb1249aa5b28d06fbd2b6c (patch) | |
tree | f0ccf367c7d2477f1e6e99f6243c3da819ccbd9a | |
parent | e415916e24ccf28a88d87182e716beace9820753 (diff) | |
download | postgresql-1cc13b83eb125fb63eeb1249aa5b28d06fbd2b6c.tar.gz postgresql-1cc13b83eb125fb63eeb1249aa5b28d06fbd2b6c.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
-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 994457b37d6..ae1275afe2e 100644 --- a/src/pl/plpython/plpython.h +++ b/src/pl/plpython/plpython.h @@ -94,9 +94,6 @@ #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 |