[kaffe] CVS kaffe (riccardo): added headers and guarded existing ones

Kaffe CVS cvs-commits at kaffe.org
Fri Aug 19 06:54:52 PDT 2005


PatchSet 6847 
Date: 2005/08/19 13:48:16
Author: riccardo
Branch: HEAD
Tag: (none) 
Log:
added headers and guarded existing ones

Members: 
	ChangeLog:1.4370->1.4371 
	libraries/clib/nio/gnu_java_nio_VMSelector.c:1.15->1.16 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4370 kaffe/ChangeLog:1.4371
--- kaffe/ChangeLog:1.4370	Fri Aug 19 03:34:16 2005
+++ kaffe/ChangeLog	Fri Aug 19 13:48:16 2005
@@ -1,3 +1,8 @@
+2005-08-19  Riccardo Mottola  <riccardo at kaffe.org>
+
+	* kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c: Added includes
+	and guarded existing ones.
+
 2005-08-19  Dalibor Topic  <robilad at kaffe.org>
 
 	* replace/ifaddrs_bsd.c: Added missing includes.
Index: kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c
diff -u kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.15 kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.16
--- kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.15	Mon Jul  4 00:04:09 2005
+++ kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c	Fri Aug 19 13:48:19 2005
@@ -43,8 +43,17 @@
 #include <sys/types.h>
 #endif
 
+#ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
+#endif
+
+#ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 #include <string.h>
 




More information about the kaffe mailing list