[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] javanet.c compile fix for IRIX
From: |
Mark Wielaard |
Subject: |
Re: [cp-patches] javanet.c compile fix for IRIX |
Date: |
Tue, 26 Jul 2005 11:12:17 +0200 |
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?
Cheers,
Mark
signature.asc
Description: This is a digitally signed message part