[Patch] Build failure current CVS version
Andreas Jaeger
aj@suse.de
Wed Feb 23 00:36:00 GMT 2000
With the current mainstream version I now get:
gconv.c: In function `__gconv':
gconv.c:39: `NULL' undeclared (first use in this function)
gconv.c:39: (Each undeclared identifier is reported only once
gconv.c:39: for each function it appears in.)
I'm appending a patch.
Andreas
2000-02-23 Andreas Jaeger <aj@suse.de>
* iconv/gconv.c: Include <stddef.h> for NULL.
============================================================
Index: iconv/gconv.c
--- iconv/gconv.c 1999/12/21 07:22:57 1.17
+++ iconv/gconv.c 2000/02/23 08:34:03
@@ -1,6 +1,6 @@
/* Convert characters in input buffer using conversion descriptor to
output buffer.
- Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -23,6 +23,7 @@
#include <gconv.h>
#include <sys/param.h>
#include <dlfcn.h>
+#include <stddef.h>
int
internal_function
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
More information about the Libc-hacker
mailing list