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] Fix no-tsd.c compile on certain arches


Hi!

With this I succeeded to build current CVS on i386/i686/alpha/alphaev6/ia64
with make check passing everywhere but on ia64 due to the well known
miscompilation.
It did not fail in my i686 build previously, since there stdlib.h is
included from libc-tsd.h ... useldt.h.
Sorry.

2002-10-09  Jakub Jelinek  <jakub@redhat.com>

	* no-tsd.c: Include stdlib.h.

--- libc/linuxthreads/no-tsd.c	9 Oct 2002 10:32:32 -0000	1.1.1.5
+++ libc/linuxthreads/no-tsd.c	9 Oct 2002 12:01:31 -0000	1.2
@@ -19,6 +19,7 @@
 
 #include <sys/cdefs.h>  /* for __const */
 #include <bits/libc-tsd.h>
+#include <stdlib.h>
 
 #if !(USE_TLS && HAVE___THREAD)
 

	Jakub


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