[kaffe] kaffe fails to build if --with-stats is passed to configure

pietro ferrari pietro.ferrari at gmail.com
Fri Sep 30 13:29:07 PDT 2005


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 <pietro.ferrari at gmail.com>

	* 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)




More information about the kaffe mailing list