Autor: Phil Chambers Datum: To: exim-users Betreff: Re: [Exim] socklen_t not defined
On Fri, 5 Dec 2003 10:03:11 +0000 (GMT) Philip Hazel <ph10@???> wrote:
> On Fri, 5 Dec 2003, Phil Chambers wrote:
>
> > I need to move up to exim-4.30 to get some of the new facilities. However, I have a
> > compilation failure. I am working on IRIX-6 and socklen_t is not defined in
> > /usr/include/sys/socket.h.
> >
> > Can someone suggest the best way to get round this please?
>
> I test-compiled Exim 4.30 without any problems on an IRIX system whose
> "uname -a" output is
>
> IRIX64 mole 6.5 07141529 IP27
>
> but I not know nothing about IRIX details or versions.
Mine gives IRIX64 xxxx 6.5 10100655 IP27, so there could be quite a difference.
Since getsocketname() expects an int, I have added "typedef socklen_t int;" to
exim.h and that has fixed it.
Phil.
---------------------------------------
Phil Chambers (postmaster@???)
University of Exeter