This is the mail archive of the libc-hacker@sourceware.cygnus.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]

[Patch] Build failure current CVS version



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

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