if kaffe is build with --with-stats it will fail because
sys/resource.h is not included in stats.c. this patch that fixes this.

Changelog:

2005-09-30 Pietro Ferrari <[EMAIL PROTECTED]>

        * kaffe/kaffevm/stats.c: include <sys/resource.h>

patch:

Index: stats.c
===================================================================
RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/stats.c,v
retrieving revision 1.10
diff -u -r1.10 stats.c
--- stats.c     19 Jul 2005 16:27:35 -0000      1.10
+++ stats.c     30 Sep 2005 20:29:53 -0000
@@ -22,6 +22,7 @@
 #include "support.h"
 #include "debug.h"
 #include "stats.h"
+#include <sys/resource.h>

 #if defined(KAFFE_STATS)

_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to