[kaffe] CVS kaffe (dalibor): Fixed cross compilation problem with qt-embedded

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Thu Mar 25 02:54:03 2004


PatchSet 4579 
Date: 2004/03/25 10:14:44
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed cross compilation problem with qt-embedded

2004-03-25  Dalibor Topic <robilad@kaffe.org>

        * include/jsyscall.h:
        Include header files with the required types instead of
        declaring them as structs.

Members: 
	ChangeLog:1.2157->1.2158 
	include/jsyscall.h:1.14->1.15 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2157 kaffe/ChangeLog:1.2158
--- kaffe/ChangeLog:1.2157	Thu Mar 25 09:57:56 2004
+++ kaffe/ChangeLog	Thu Mar 25 10:14:44 2004
@@ -1,5 +1,11 @@
 2004-03-25  Dalibor Topic <robilad@kaffe.org>
 
+	* include/jsyscall.h:
+	Include header files with the required types instead of
+	declaring them as structs.
+
+2004-03-25  Dalibor Topic <robilad@kaffe.org>
+
 	* kaffe/kaffevm/gtypes.h:
 	Allocate sizeof(int32) bytes for the data part of a
 	Utf8String to avoid warning about padding the struct.
Index: kaffe/include/jsyscall.h
diff -u kaffe/include/jsyscall.h:1.14 kaffe/include/jsyscall.h:1.15
--- kaffe/include/jsyscall.h:1.14	Sat Mar 20 18:26:04 2004
+++ kaffe/include/jsyscall.h	Thu Mar 25 10:14:46 2004
@@ -14,19 +14,33 @@
 
 #include "config.h"
 
+#if defined(HAVE_NETDB_H)
+#include <netdb.h>
+#endif /* defined(HAVE_NETDB_H) */
+
 #if defined(HAVE_STDLIB_H)
 #include <stdlib.h>
 #endif /* HAVE_STDLIB_H */
 
+#if defined (HAVE_SYS_SOCKET_H)
+#include <sys/socket.h>
+#endif /* defined (HAVE_SYS_SOCKET_H) */
+
+#if defined(HAVE_SYS_STAT_H)
+#include <sys/stat.h>
+#endif /* defined(HAVE_SYS_STAT_H) */
+
+#if defined(HAVE_SYS_TIME_H)
+#include <sys/time.h>
+#endif /* defined(HAVE_SYS_TIME_H) */
+
+#if defined(HAVE_SYS_TYPES_H)
+#include <sys/types.h>
+#endif /* defined(HAVE_SYS_TYPES_H) */
+
 #if defined(HAVE_UNISTD_H)
 #include <unistd.h>
 #endif /* HAVE_UNISTD_H */
-
-struct sockaddr;
-struct timeval;
-struct fd_set;
-struct stat;
-struct hostent;
 
 /*
  * Thread-safe variants of several POSIXy calls.