Nagios-2.3.1 build error on Solaris 9

…looks like an incompatibility with nagios 2.3.1 and Solaris 9:

getcgi.c: In function getcgivars': getcgi.c:174: error:INT_MAX’ undeclared (first use in this function)
getcgi.c:174: error: (Each undeclared identifier is reported only once
getcgi.c:174: error: for each function it appears in.)

…I can’t find INT_MAX defined anywhere, either in /usr/include or ./nagios-2.3.1/include.

Here’s the offending code:

            /* suspicious content length */
            if((content_length<0) || (content_length>=INT_MAX-1)){
                    printf("getcgivars(): Suspicious Content-Length was sent with the POST request.\n");
                    exit(1);
                    }

I’ve since commented out this check to complete the build. Is this something known or should I post it somewhere else so we can get it fixed?