From patchwork Fri Jun 23 12:33:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gabriel F. T. Gomes" X-Patchwork-Id: 779981 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 3wvHvB6Pbdz9s8N for ; Fri, 23 Jun 2017 22:34:14 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="jf/Sah/F"; 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:in-reply-to:references :message-id; q=dns; s=default; b=VttoJ2mP7//3nEgIGaGkDv8aM6BAZTy /0Png1cmTwXkkJdRYQ7K2/3pxlkjTg5ADDlV9Q+hy0YG22rkdQ8bFTD9AqH4spuU 4fJk2eHVM/0AnXdzsWNI2CLSMVizSfDJU/s7QYMz34NOkONHB409ZlRzmKhvN36Q 5yMq7VFCuO9k= 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:in-reply-to:references :message-id; s=default; bh=CKzwEkqO+wEUPjq+t9eUphJBvSo=; b=jf/Sa h/FhKG3wtLhSc5F6teRBvavGdkol7jCIbaqeAkfcFTLdzN82TJWw+sxbTWyGalba DuzeiQmUFupBZBlopfT2q7RNvGxhLPpjjU0BjFRBrPIq7/CeHuemvgil+s1xi6EK lVaI+oUDV1vVFDqrTqJbJIzCB6DutVYnbu3grU= Received: (qmail 54755 invoked by alias); 23 Jun 2017 12:33:46 -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 54355 invoked by uid 89); 23 Jun 2017 12:33:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, KHOP_DYNAMIC, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy= X-HELO: mx0a-001b2d01.pphosted.com From: "Gabriel F. T. Gomes" To: libc-alpha@sourceware.org Subject: [PATCH v3 1/7] Include libc-header-start.h in include/float.h Date: Fri, 23 Jun 2017 09:33:20 -0300 In-Reply-To: <1498221206-26864-1-git-send-email-gftg@linux.vnet.ibm.com> References: <1498221206-26864-1-git-send-email-gftg@linux.vnet.ibm.com> X-TM-AS-MML: disable x-cbid: 17062312-0020-0000-0000-000002B868F7 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17062312-0021-0000-0000-000030D794C8 Message-Id: <1498221206-26864-2-git-send-email-gftg@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-06-23_07:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706230212 New since v2: - This patch has been split from the last patch in this set, because it isn't powerpc64le-specific. -- 8< -- The file include/float.h uses the macro __GLIBC_USE to test for TS 18661-3 support. Such macro is provided by bits/libc-header-start.h, so include it to get the definition. Tested for powerpc64le and s390x. * include/float.h: Include libc-header-start.h to get the definition of __GLIBC_USE. --- include/float.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/float.h b/include/float.h index a5b357d..736868f 100644 --- a/include/float.h +++ b/include/float.h @@ -1,6 +1,9 @@ #ifndef _LIBC_FLOAT_H #define _LIBC_FLOAT_H +#define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION +#include + #ifndef _ISOMAC # define __STDC_WANT_IEC_60559_TYPES_EXT__ #endif