[kaffe] ssize_t issue (Re: Patch queue status update)

Kiyo Inaba inaba at src.ricoh.co.jp
Fri May 30 00:01:01 PDT 2003

Hi Dalibor,

> * kiyo's & tim's ssize_t vs size_t patch: unresolved.
I noticed that some 'old' linux boxes have 'ssize_t' definition. The real
problem is, it is not included when ByteToCharIconv.c or CharToByteIconv.c
are compiled. So my propose for fixing this problem is the patch attached.

Could you review my patch and if it looks feasible please check in?


diff -Naur kaffe-snap-030515.orig/config/config-mem.h kaffe-snap-030515/config/config-mem.h
--- kaffe-snap-030515.orig/config/config-mem.h	Tue May  6 02:33:42 2003
+++ kaffe-snap-030515/config/config-mem.h	Fri May 30 15:17:25 2003
@@ -43,6 +43,10 @@
 #if !defined(HAVE_DECLARED_SWAB)
+#if defined(HAVE_SYS_TYPES_H)
+#include <sys/types.h>
  * Some systems (Linux) do not declare swab in any standard header file

More information about the kaffe mailing list