[kaffe] CVS kaffe (robilad): Added missing guards for includes in VMSelector

Kaffe CVS cvs-commits at kaffe.org
Sun Apr 3 11:04:50 PDT 2005


PatchSet 5653 
Date: 2005/04/03 17:57:29
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Added missing guards for includes in VMSelector

2005-04-03  Dalibor Topic  <robilad at kaffe.org>

* libraries/clib/nio/gnu_java_nio_VMSelector.c:
Added guards for <sys/select.h> and <sys/time.h>

Members: 
	ChangeLog:1.3823->1.3824 
	libraries/clib/nio/gnu_java_nio_VMSelector.c:1.8->1.9 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3823 kaffe/ChangeLog:1.3824
--- kaffe/ChangeLog:1.3823	Sun Apr  3 15:27:45 2005
+++ kaffe/ChangeLog	Sun Apr  3 17:57:29 2005
@@ -1,3 +1,8 @@
+2005-04-03  Dalibor Topic  <robilad at kaffe.org>
+
+	* libraries/clib/nio/gnu_java_nio_VMSelector.c: 
+	Added guards for <sys/select.h> and <sys/time.h>.
+	
 2005-04-03  Guilhem Lavaux  <guilhem at kaffe.org>
 
 	* libraries/clib/nio/gnu_java_nio_VMSelector.c
Index: kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c
diff -u kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.8 kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.9
--- kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.8	Sun Apr  3 15:27:47 2005
+++ kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c	Sun Apr  3 17:57:33 2005
@@ -43,8 +43,13 @@
 #include <sys/types.h>
 #endif
 
+#if defined(HAVE_SYS_SELECT_H)
 #include <sys/select.h>
+#endif
+
+#if defined(HAVE_SYS_TIME_H)
 #include <sys/time.h>
+#endif
 
 #include <string.h>
 




More information about the kaffe mailing list