[kaffe] CVS kaffe (riccardo): added missing include to sys/time.h properly guarded (for darwin)

Kaffe CVS cvs-commits at kaffe.org
Sun Oct 2 13:43:30 PDT 2005


PatchSet 6942 
Date: 2005/10/02 20:37:11
Author: riccardo
Branch: HEAD
Tag: (none) 
Log:
added missing include to sys/time.h properly guarded (for darwin)

Members: 
	ChangeLog:1.4465->1.4466 
	kaffe/kaffevm/stats.c:1.12->1.13 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4465 kaffe/ChangeLog:1.4466
--- kaffe/ChangeLog:1.4465	Sun Oct  2 15:11:10 2005
+++ kaffe/ChangeLog	Sun Oct  2 20:37:11 2005
@@ -1,3 +1,7 @@
+2005-10-02  Riccardo Mottola <riccardo at kaffe.org>
+	* kaffe/kaffe/kafevm/stat.c :
+	added missing include to sys/time.h properly guarded (for darwin)
+
 2005-10-02  Dalibor Topic  <robilad at kaffe.org>
 
 	* configure.ac,
Index: kaffe/kaffe/kaffevm/stats.c
diff -u kaffe/kaffe/kaffevm/stats.c:1.12 kaffe/kaffe/kaffevm/stats.c:1.13
--- kaffe/kaffe/kaffevm/stats.c:1.12	Sun Oct  2 13:04:16 2005
+++ kaffe/kaffe/kaffevm/stats.c	Sun Oct  2 20:37:14 2005
@@ -16,6 +16,10 @@
 #include "config-std.h"
 #include "config-mem.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