Pete Forman <gsez020@kryten.bedford.waii.com> writes:
> On IRIX 6.5.5m I get the following error. The header <standards.h> is
> included by (nearly!) all of the standard headers. It is the IRIX
> equivalent of config.h if you will.
> configure:4349: checking for netinet/tcp.h
> configure:4359: cc -E conftest.c >/dev/null 2>conftest.out
> cc-1035 cc: WARNING File = /usr/include/sys/endian.h, Line = 32
> #error directive: "<standards.h> must be included before <sys/endian.h>."
> #error "<standards.h> must be included before <sys/endian.h>."
> ^
> configure: failed program was:
> #line 4354 "configure"
> #include "confdefs.h"
> #include <netinet/tcp.h>
How bizarre. One would think it'd make more sense to just include the
desired file, instead of going belly-up like that.
> In order to preprocess this test on IRIX a system header such as
> <stdio.h> must precede <netinet/tcp.h>. The logical choice of header
> to use is <netinet/in.h> as tcp.h is supplying values for levels
> defined in in.h.
> This is an IRIX bug but I think that we need to work around it.
Roger, will do.
regards, tom lane