From patchwork Mon Apr 6 17:54:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 458400 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5D072140276 for ; Tue, 7 Apr 2015 03:55:42 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=sourceware.org header.i=@sourceware.org header.b=mdnWm/Ks; dkim-adsp=none (unprotected policy); dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=mQxYuQcBgI/rmKZxoSoYUgiDCiu1evu OcfyeWE049/ZarYQc7HvLnXAf06o4ga9zg4tsU9DXujTDhlFNYrQg+2+jH1lC8pg pMhVUu58htFpH2zv2ucl5qafcazLhuE6eLNwdzaw6Y/e+Q1c0KNrP1qkY0u1X8P3 oYtPsbCLE+G0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=BwFHsRllX3g2tFluHwW26jHGegI=; b=mdnWm /KspWh7aeJNPAwoSe9+OtCfyiOOVdGVs2PsyaT3/YUw24+lOp+NflFgnyqsdfYDp 5JBd5uCrhBVr+wu4WITgsuLQNy/cOp1uLoqSByAGSJ9PyuXlDCQEYSmDSmOf+eAB 7AnyoDwL/jOoifPALDhQVXEd7gPO4CMvKV/ePE= Received: (qmail 91741 invoked by alias); 6 Apr 2015 17:55:04 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 91692 invoked by uid 89); 6 Apr 2015 17:55:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL, BAYES_50, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f44.google.com X-Received: by 10.66.137.2 with SMTP id qe2mr29094943pab.77.1428342900045; Mon, 06 Apr 2015 10:55:00 -0700 (PDT) From: Richard Henderson To: libc-alpha@sourceware.org Subject: [COMMITTED 1/3] alpha: Unconditionally include dl-sysdep.h in sysdep.h Date: Mon, 6 Apr 2015 10:54:52 -0700 Message-Id: <1428342894-11889-2-git-send-email-rth@twiddle.net> In-Reply-To: <1428342894-11889-1-git-send-email-rth@twiddle.net> References: <1428342894-11889-1-git-send-email-rth@twiddle.net> Fixes a -Wundef error wrt RTLD_PRIVATE_ERRNO. --- ChangeLog | 4 ++++ sysdeps/unix/alpha/sysdep.h | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 54831a7..6416ce2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-04-06 Richard Henderson + + * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h. + 2015-04-03 Rajalakshmi Srinivasaraghavan [BZ #17596] diff --git a/sysdeps/unix/alpha/sysdep.h b/sysdeps/unix/alpha/sysdep.h index d160214..ff87793 100644 --- a/sysdeps/unix/alpha/sysdep.h +++ b/sysdeps/unix/alpha/sysdep.h @@ -17,6 +17,7 @@ . */ #include +#include /* Defines RTLD_PRIVATE_ERRNO. */ #ifdef __ASSEMBLER__ @@ -26,11 +27,6 @@ # include #endif -#if IS_IN (rtld) -# include /* Defines RTLD_PRIVATE_ERRNO. */ -#endif - - #define __LABEL(x) x##: #define LEAF(name, framesize) \