classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] javanet.c compile fix for IRIX


From: Christian Thalinger
Subject: Re: [cp-patches] javanet.c compile fix for IRIX
Date: Tue, 26 Jul 2005 11:29:04 +0200

On Tue, 2005-07-26 at 11:12 +0200, Mark Wielaard wrote:
> Hi,
> 
> On Tue, 2005-07-26 at 10:20 +0200, Christian Thalinger wrote:
> > There is an include missing (for timeval struct).
> >  
> >  #ifndef TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_TIMEOUT
> > +  #include <sys/time.h>
> >    #include <sys/types.h>
> >    #include <sys/socket.h>
> 
> Should we enclose this as done in TimeZone.c?
> 
> #if TIME_WITH_SYS_TIME
> # include <sys/time.h>
> # include <time.h>
> #else
> # if HAVE_SYS_TIME_H
> # include <sys/time.h>
> # else
> # include <time.h>
> # endif
> #endif
> 
> That is what the autoconf manual recommends.
> Does that work for you?

Yes.

TWISTI





reply via email to

[Prev in Thread] Current Thread [Next in Thread]