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]
Other format: [Raw text]

[PATCH] Tiny warning fix


Hi!

stdlib.h is included indirectly via tls.h only in --with-tls
builds and stddef.h through include/link.h.  Needed for exit resp. offsetof.

2004-03-26  Jakub Jelinek  <jakub@redhat.com>

	* elf/tst-dlmodcount.c: Include stddef.h and stdlib.h.

--- libc/elf/tst-dlmodcount.c.jj	2004-03-23 15:51:11.000000000 +0100
+++ libc/elf/tst-dlmodcount.c	2004-03-26 10:17:28.060349413 +0100
@@ -18,7 +18,9 @@
    02111-1307 USA.  */
 
 #include <link.h>
+#include <stddef.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 #define SET	0
 #define ADD	1

	Jakub


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