From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14305 invoked by alias); 7 Mar 2004 15:53:46 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 14289 invoked from network); 7 Mar 2004 15:53:45 -0000 Received: from unknown (HELO lisa.goe.net) (134.76.166.209) by sources.redhat.com with SMTP; 7 Mar 2004 15:53:45 -0000 Received: from mutter.goe.net (mutter-lisa0.a11.local [192.168.31.26]) by lisa.goe.net (8.12.10/8.12.10) with ESMTP id i27FriVo029751 for ; Sun, 7 Mar 2004 16:53:44 +0100 Received: from whitebox.a11.local ([192.168.31.90] helo=whitebox.as.local) by mutter.goe.net with esmtp (Exim 4.22) id 1B00b2-0005iD-4t for libc-hacker@sources.redhat.com; Sun, 07 Mar 2004 16:53:44 +0100 Received: by whitebox.as.local (Postfix, from userid 500) id E633C8090D; Sun, 7 Mar 2004 16:53:37 +0100 (CET) To: libc-hacker@sources.redhat.com Subject: Use of dl-tls.h From: Andreas Schwab X-Yow: I hope you millionaires are having fun! I just invested half your life savings in yeast!! Date: Sun, 07 Mar 2004 15:53:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2004-03/txt/msg00011.txt.bz2 dl-tls.h should only be included when USE_TLS. Andreas. 2004-03-07 Andreas Schwab * elf/dl-sym.c: Include only when USE_TLS. --- elf/dl-sym.c.~1.19.~ 2004-03-07 15:25:31.000000000 +0100 +++ elf/dl-sym.c 2004-03-07 16:51:14.836143432 +0100 @@ -24,7 +24,9 @@ #include #include #include -#include +#ifdef USE_TLS +# include +#endif =20 =20 #if defined USE_TLS && defined SHARED --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstra=C3=9Fe 5, 90409 N=C3=BCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."