Please describe as succinctly as possible:
        - What happened.
        - What you thought should have happened.
        - Precisely what you were doing at the time.

Unable to build Xemacs 21.4.17 on Solaris 9.

Any suggestions regarding the parse error?

Gcc version is 3.2.2

configure:4123: gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -fno-strict-aliasing -Wshadow -Wpointer-arith   -I/opt/sfw/include     conftest.c 1>&5
In file included from /usr/include/netinet/in.h:41,
                 from /usr/include/sys/socket.h:203,
                 from configure:4115:
/usr/include/sys/stream.h:307: parse error before "projid_t"
configure: failed program was:
#line 4113 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
socklen_t x;

int main() {

; return 0; }