[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:53:12 +0200 |
Hi Christian,
On Tue, 2005-07-26 at 11:29 +0200, Christian Thalinger wrote:
> On Tue, 2005-07-26 at 11:12 +0200, Mark Wielaard wrote:
> > That is what the autoconf manual recommends.
> > Does that work for you?
>
> Yes.
Thanks. Committed as follows:
2005-07-26 Christian Thalinger <address@hidden>
* native/target/generic/target_generic_network.h
(TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_TIMEOUT): Added
missing sys/time.h include.
Cheers,
Mark
Index: native/target/generic/target_generic_network.h
===================================================================
RCS file:
/cvsroot/classpath/classpath/native/target/generic/target_generic_network.h,v
retrieving revision 1.14
diff -u -r1.14 target_generic_network.h
--- native/target/generic/target_generic_network.h 11 Jul 2005 18:23:06
-0000 1.14
+++ native/target/generic/target_generic_network.h 26 Jul 2005 09:48:21
-0000
@@ -666,6 +666,16 @@
#ifndef TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_TIMEOUT
#include <sys/types.h>
#include <sys/socket.h>
+#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
#define
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_TIMEOUT(socketDescriptor,flag,result)
\
do { \
struct timeval __value; \
signature.asc
Description: This is a digitally signed message part