[PATCH] Fix no-tsd.c compile on certain arches
Jakub Jelinek
jakub@redhat.com
Wed Oct 9 07:32:00 GMT 2002
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
More information about the Libc-hacker
mailing list