[kaffe] CVS kaffe (guilhem): Added a missing include on openbsd/sparc.

Kaffe CVS cvs-commits at kaffe.org
Sun Apr 25 07:28:02 PDT 2004


PatchSet 4692 
Date: 2004/04/25 13:29:14
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Added a missing include on openbsd/sparc.

        * config/sparc/openbsd2/md.h: Added #include <sys/time.h>
        because sys/resource.h has an undefined struct on openbsd.

Members: 
	ChangeLog:1.2268->1.2269 
	config/sparc/openbsd2/md.h:1.6->1.7 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2268 kaffe/ChangeLog:1.2269
--- kaffe/ChangeLog:1.2268	Sat Apr 24 19:48:09 2004
+++ kaffe/ChangeLog	Sun Apr 25 13:29:14 2004
@@ -1,5 +1,10 @@
 2004-04-24  Guilhem Lavaux <guilhem at kaffe.org>
 
+	* config/sparc/openbsd2/md.h: Added #include <sys/time.h>
+	because sys/resource.h has an undefined struct on openbsd.
+
+2004-04-24  Guilhem Lavaux <guilhem at kaffe.org>
+
 	* config/sparc/openbsd2/md.h,
 	kaffe/kaffevm/systems/unix-jthreads/signal.c:
 	New macro STACK_STRUCT. On OpenBSD2 define it as
Index: kaffe/config/sparc/openbsd2/md.h
diff -u kaffe/config/sparc/openbsd2/md.h:1.6 kaffe/config/sparc/openbsd2/md.h:1.7
--- kaffe/config/sparc/openbsd2/md.h:1.6	Sat Apr 24 19:48:10 2004
+++ kaffe/config/sparc/openbsd2/md.h	Sun Apr 25 13:29:21 2004
@@ -14,6 +14,9 @@
 
 #include "sparc/common.h"
 #include "sparc/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