PL/Perl portability fix: avoid including XSUB.h in plperl.c.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d48180ec812d6d2c1c17900613d05bf6e8d76994
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-07-31T16:10:36Z
Releases: 9.4.13
PL/Perl portability fix: avoid including XSUB.h in plperl.c.

Back-patch of commit bebe174bb4462ef079a1d7eeafb82ff969f160a4,
which see for more info.

Patch by me, with some help from Ashutosh Sharma

Discussion: https://postgr.es/m/CANFyU97OVQ3+Mzfmt3MhuUm5NwPU=-FtbNH5Eb7nZL9ua8=rcA@mail.gmail.com

Files

PathChange+/−
src/pl/plperl/plperl.c modified +180 −58
src/pl/plperl/plperl.h modified +15 −2
src/pl/plperl/plperl_helpers.h modified +6 −0
src/pl/plperl/SPI.xs modified +2 −30
src/pl/plperl/Util.xs modified +3 −41

Discussion