[Bug 52084] Missing #include <limits> causes build to fail on Fedora 35 with gcc11