Some more patches for NULL change

Andreas Jaeger aj@suse.de
Wed Feb 23 00:58:00 GMT 2000


With Uli's recent change to dlfcn.h, we don't have NULL anymore in some headers
- but now the current CVS version of glibc doesn't compile anymore
:-(.

Besides my patch iconv/gconv.c (sent already) the following patches
are needed.

Andreas

2000-02-23  Andreas Jaeger  <aj@suse.de>

	* dlfcn/dlopen.c: Include <stddef.h> for NULL.
	* dlfcn/dlsym.c: Likewise.
	* dlfcn/dlvsym.c: Likewise.

============================================================
Index: dlfcn/dlopen.c
--- dlfcn/dlopen.c	1999/07/07 18:26:16	1.1
+++ dlfcn/dlopen.c	2000/02/23 08:56:16
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <dlfcn.h>
+#include <stddef.h>
 
 struct dlopen_args
 {
============================================================
Index: dlfcn/dlsym.c
--- dlfcn/dlsym.c	1999/07/07 18:26:40	1.1
+++ dlfcn/dlsym.c	2000/02/23 08:56:16
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <dlfcn.h>
+#include <stddef.h>
 
 struct dlsym_args
 {
============================================================
Index: dlfcn/dlvsym.c
--- dlfcn/dlvsym.c	1999/07/07 18:26:55	1.1
+++ dlfcn/dlvsym.c	2000/02/23 08:56:16
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <dlfcn.h>
+#include <stddef.h>
 
 struct dlvsym_args
 {

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de


More information about the Libc-hacker mailing list