From patchwork Wed Oct 2 15:49:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 1170756 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-105577-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="EgOlyMxf"; dkim-atps=neutral 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 46k0w25cJyz9sPc for ; Thu, 3 Oct 2019 01:50:26 +1000 (AEST) 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:cc:subject:date:message-id :mime-version:content-transfer-encoding; q=dns; s=default; b=Zby WDeTWQMYgak2PfiR+wkaZFAhMpbJV85C58AGf7QAzMK5wA1ryB7RsPhgrdLV9alC qs7lKZrYAjXjdO/Kmdhfh9vcNLA+yFkjzp3O1z8rJy07EcNM/l01vElg4YSSc4PU qSelCn8eKRHn/bCCeeUnoro2Ed6hPE97ImMY1Zck= 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:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=default; bh=6XqSmHvrO aJniDO94km5B4h5VuM=; b=EgOlyMxfQaEzbqDMMtPFpWryI/NNyIF5Q3ObR5UPD mtWvwKijpISIB/awBuxaK+CeTizoNWERmsSnlQzHMFjCPj2olJ5pfWV0hjFJ1n2H ysQ3ZD8Vw0QM+1VmoGWLx3orlP9Ip5nx83In6jqQNRnY5NJhgkkrYfgm66Fy8J2P 5w= Received: (qmail 32376 invoked by alias); 2 Oct 2019 15:50:20 -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 32368 invoked by uid 89); 2 Oct 2019 15:50:20 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy= X-HELO: mail-out.m-online.net From: Lukasz Majewski To: Joseph Myers , Paul Eggert Cc: Alistair Francis , Alistair Francis , GNU C Library , Adhemerval Zanella , Florian Weimer , Carlos O'Donell , Stepan Golosunov , Florian Weimer , Zack Weinberg , Lukasz Majewski Subject: [PATCH] Y2038: Include proper header to provide support for struct timeval on HURD Date: Wed, 2 Oct 2019 17:49:49 +0200 Message-Id: <20191002154949.22664-1-lukma@denx.de> MIME-Version: 1.0 The HURD requires explicit inclusion of to use struct timeval in ./include/time.h. For this particular glibc port, the proper header hasn't been included before inclusion of time.h. Tested with build-many-glibcs.py with i686-gnu and x86_64-linux-gnu: build-many-glibcs.py /home/lukma/work/glibc/glibc-many-build --keep all compilers i686-gnu build-many-glibcs.py /home/lukma/work/glibc/glibc-many-build --keep all glibcs i686-gnu Also run of xcheck on x86_64: ./src/configure --prefix=/usr make PARALLELMFLAGS="-j12" && make xcheck PARALLELMFLAGS="-j12" * include/time.h: Add #include --- include/time.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/time.h b/include/time.h index 9878c2b2ca..f6dc731ac6 100644 --- a/include/time.h +++ b/include/time.h @@ -2,6 +2,7 @@ #include