[kaffe] CVS kaffe (robilad): Fixed build on x86-hurd

Kaffe CVS cvs-commits at kaffe.org
Sat Aug 6 19:33:25 PDT 2005


PatchSet 6788 
Date: 2005/08/07 02:28:31
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed build on x86-hurd

2005-08-07  Riccardo Mottola  <multix at gmail.com>

        * kaffe/kaffevm/systems/unix-jthreads/jthread.c:
        Added missing includes for waitpid to fix build on gnu hurd.

Members: 
	ChangeLog:1.4313->1.4314 
	kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.137->1.138 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4313 kaffe/ChangeLog:1.4314
--- kaffe/ChangeLog:1.4313	Sat Aug  6 17:41:01 2005
+++ kaffe/ChangeLog	Sun Aug  7 02:28:31 2005
@@ -1,3 +1,8 @@
+2005-08-07  Riccardo Mottola  <multix at gmail.com>
+
+	* kaffe/kaffevm/systems/unix-jthreads/jthread.c:
+	Added missing includes for waitpid to fix build on gnu hurd.
+
 2005-08-06  Dalibor Topic  <robilad at kaffe.org>
 
 	* config/sparc/jit-sparc.def:
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.137 kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.138
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c:1.137	Sat May 21 08:36:46 2005
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.c	Sun Aug  7 02:28:34 2005
@@ -15,6 +15,15 @@
  */
 
 #include "config.h"
+
+#if defined(HAVE_SYS_TYPES_H)
+#include <sys/types.h>
+#endif /* defined(HAVE_SYS_TYPES_H) */
+
+#if defined(HAVE_SYS_WAIT_H)
+#include <sys/wait.h>
+#endif /* defined(HAVE_SYS_WAIT_H) */
+
 #include "jthread.h"
 #include "jsignal.h"
 #include "xprofiler.h"




More information about the kaffe mailing list