This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix compilation of iconv tests on the Hurd


I need the attached patch to compile some of the iconv tests on the
Hurd.  Looks like we get wchar_t from <stdio.h> when we're using
libio.  Is that alright?  I've looked at the ISO C 99 draft, and the
copy I've got here doesn't list wchar_t as defined by <stdio.h>.

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
	* iconv/tst-iconv3.c: Likewise.

Index: iconv/tst-iconv1.c
===================================================================
RCS file: /cvs/glibc/libc/iconv/tst-iconv1.c,v
retrieving revision 1.3
diff -u -p -r1.3 tst-iconv1.c
--- iconv/tst-iconv1.c 2001/02/20 02:13:54 1.3
+++ iconv/tst-iconv1.c 2001/09/01 09:35:54
@@ -1,6 +1,7 @@
 /* Test case by yaoz@nih.gov.  */
 
 #include <iconv.h>
+#include <stddef.h>
 #include <stdio.h>
 #include <string.h>
 
Index: iconv/tst-iconv3.c
===================================================================
RCS file: /cvs/glibc/libc/iconv/tst-iconv3.c,v
retrieving revision 1.1
diff -u -p -r1.1 tst-iconv3.c
--- iconv/tst-iconv3.c 2001/01/06 20:21:57 1.1
+++ iconv/tst-iconv3.c 2001/09/01 09:35:54
@@ -2,6 +2,7 @@
 
 #include <iconv.h>
 #include <errno.h>
+#include <stddef.h>
 #include <stdio.h>
 
 #define BUFSIZE 10000


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]