[kaffe] CVS kaffe (guilhem): Fixed compilation on OpenBSD/i386.

Kaffe CVS cvs-commits at kaffe.org
Sun May 2 02:58:02 PDT 2004


PatchSet 4718 
Date: 2004/05/02 09:53:50
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fixed compilation on OpenBSD/i386.

        Reported by Emil Mikulic <emikulic at dmr.ath.cx>

        * config/i386/openbsd2/md.h: Added inclusion of sys/time.h to
        make kaffe compile on OpenBSD.

Members: 
	ChangeLog:1.2292->1.2293 
	config/i386/openbsd2/md.h:1.8->1.9 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2292 kaffe/ChangeLog:1.2293
--- kaffe/ChangeLog:1.2292	Sun May  2 05:56:46 2004
+++ kaffe/ChangeLog	Sun May  2 09:53:50 2004
@@ -1,5 +1,12 @@
 2004-04-30  Guilhem Lavaux <guilhem at kaffe.org>
 
+	Reported by Emil Mikulic <emikulic at dmr.ath.cx>
+
+	* config/i386/openbsd2/md.h: Added inclusion of sys/time.h to
+	make kaffe compile on OpenBSD.
+
+2004-04-30  Guilhem Lavaux <guilhem at kaffe.org>
+
 	* libraries/javalib/java/text/DecimalFormat.java
 	(MAXIMUM_INTEGER_DIGITS): New private constant.
 	(applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
Index: kaffe/config/i386/openbsd2/md.h
diff -u kaffe/config/i386/openbsd2/md.h:1.8 kaffe/config/i386/openbsd2/md.h:1.9
--- kaffe/config/i386/openbsd2/md.h:1.8	Wed Apr 28 12:01:48 2004
+++ kaffe/config/i386/openbsd2/md.h	Sun May  2 09:53:53 2004
@@ -19,6 +19,9 @@
 #include "i386/sysdepCallMethod.h"
 #include "i386/threads.h"
 
+#if defined(HAVE_SYS_TIME_H)
+#include <sys/time.h>
+#endif
 #if defined(HAVE_SYS_RESOURCE_H)
 #include <sys/resource.h>
 #endif




More information about the kaffe mailing list