Long story short: I tried fixing the build failure with gcc-14 by updating the configure script and adding a few includes.
But there are interactions between autoconf and libtool and it does not work. And updating libtool stuff in a 23-year old program would be a nightmare. So I've reverted those changes in 3.6-29 with a suitable explanation. Reuben: Don't worry about this. This is still recode 3.6, so it was my fault. Thanks.