[kaffe] CVS kaffe (dalibor): Fixed build on i386-freebsd
Kaffe CVS
cvs-commits at kaffe.org
Wed May 5 09:24:01 PDT 2004
PatchSet 4719
Date: 2004/05/05 15:32:28
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fixed build on i386-freebsd
2004-05-05 Dalibor Topic <robilad at kaffe.org>
* config/i386/freebsd2/md.h:
Added inclusion of sys/time.h to make kaffe compile on FreeBSD.
Members:
ChangeLog:1.2293->1.2294
config/i386/freebsd2/md.h:1.11->1.12
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2293 kaffe/ChangeLog:1.2294
--- kaffe/ChangeLog:1.2293 Sun May 2 09:53:50 2004
+++ kaffe/ChangeLog Wed May 5 15:32:28 2004
@@ -1,3 +1,10 @@
+2004-05-05 Dalibor Topic <robilad at kaffe.org>
+
+ * config/i386/freebsd2/md.h:
+ Added inclusion of sys/time.h to make kaffe compile on FreeBSD.
+
+ Reported by: jrandom on #kaffe.
+
2004-04-30 Guilhem Lavaux <guilhem at kaffe.org>
Reported by Emil Mikulic <emikulic at dmr.ath.cx>
Index: kaffe/config/i386/freebsd2/md.h
diff -u kaffe/config/i386/freebsd2/md.h:1.11 kaffe/config/i386/freebsd2/md.h:1.12
--- kaffe/config/i386/freebsd2/md.h:1.11 Wed Apr 28 12:01:46 2004
+++ kaffe/config/i386/freebsd2/md.h Wed May 5 15:32:31 2004
@@ -19,6 +19,12 @@
#include "i386/sysdepCallMethod.h"
#include "i386/threads.h"
+/* On FreeBSD <sys/time.h> needs to be included before
+ * <sys/resource.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