[kaffe] CVS kaffe (robilad): Fixed build failure on OS X
Kaffe CVS
cvs-commits at kaffe.org
Fri Mar 25 20:44:37 PST 2005
PatchSet 5608
Date: 2005/03/26 04:38:07
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Fixed build failure on OS X
005-03-25 Dalibor Topic <robilad at kaffe.org>
* libraries/clib/nio/gnu_java_nio_VMSelector.c:
Include <sys/types.h> to fix build on OS X.
Reported by Michael Franz <mvfranz at gmail.com>
Members:
ChangeLog:1.3780->1.3781
libraries/clib/nio/gnu_java_nio_VMSelector.c:1.1->1.2
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3780 kaffe/ChangeLog:1.3781
--- kaffe/ChangeLog:1.3780 Sat Mar 26 00:53:54 2005
+++ kaffe/ChangeLog Sat Mar 26 04:38:07 2005
@@ -1,5 +1,12 @@
2005-03-25 Dalibor Topic <robilad at kaffe.org>
+ * libraries/clib/nio/gnu_java_nio_VMSelector.c:
+ Include <sys/types.h> to fix build on OS X.
+
+ Reported by Michael Franz <mvfranz at gmail.com>
+
+2005-03-25 Dalibor Topic <robilad at kaffe.org>
+
* TODO: Added new integration tasks.
2005-03-25 Jim Huang <jserv at kaffe.org>
Index: kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c
diff -u kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.1 kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.2
--- kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c:1.1 Mon Mar 21 17:15:10 2005
+++ kaffe/libraries/clib/nio/gnu_java_nio_VMSelector.c Sat Mar 26 04:38:11 2005
@@ -35,6 +35,11 @@
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
+/* <sys/types.h> needs to be included on OSX before <sys/select.h> */
+#if defined(HAVE_SYS_TYPES_H)
+#include <sys/types.h>
+#endif
+
#include <sys/select.h>
#include <sys/time.h>
More information about the kaffe
mailing list