I was looking at the development guide and saw this:
The primary language is ANSI C as defined by the 1989 standard, but the code should always be compatible with late K&R era compilers ("The C Programming Language" 1st edition, plus "void" and "enum"). There are many hacks to avoid the need to actually restrict the code to K&R C -- check out the configure tests -- but always bear the compatibility requirements in mind. In particular, preprocessing directives must have the "#" unindented, and string pasting is not available.
5.9 does not compile with gcc's c89 on EL 8 or 9 (Rocky specifically). I intend to test FreeBSD and Solaris as well, but haven't yet.