From patchwork Wed Feb 12 13:56:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 37993 Received: (qmail 110515 invoked by alias); 12 Feb 2020 13:56:35 -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 110428 invoked by uid 89); 12 Feb 2020 13:56:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx2.suse.de From: Andreas Schwab To: Lukasz Majewski Cc: Joseph Myers , Paul Eggert , Adhemerval Zanella , Alistair Francis , Alistair Francis , GNU C Library , Siddhesh Poyarekar , Florian Weimer , Florian Weimer , Zack Weinberg , Carlos O'Donell Subject: Re: [PATCH 1/2] y2038: linux: Provide __mq_timedsend_time64 implementation References: <20200211165256.21848-1-lukma@denx.de> <20200212101835.2f33c2eb@jawa> <20200212113736.509a7537@jawa> <20200212123109.3623f3d2@jawa> <20200212141937.1a291d02@jawa> X-Yow: Can you MAIL a BEAN CAKE? Date: Wed, 12 Feb 2020 14:56:29 +0100 In-Reply-To: <20200212141937.1a291d02@jawa> (Lukasz Majewski's message of "Wed, 12 Feb 2020 14:19:37 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 On Feb 12 2020, Lukasz Majewski wrote: > I've added the struct __timespec64 definition to > ./include/bits/struct/timespec.h > > > and I had build errors on ./include/time.h which uses struct > __timespec64 massively. > It requires explicit adding of #include > or This works for me: Andreas. diff --git a/include/bits/types/struct_timespec.h b/include/bits/types/struct_timespec.h index c27417cfd5..de1cf44311 100644 --- a/include/bits/types/struct_timespec.h +++ b/include/bits/types/struct_timespec.h @@ -1 +1,30 @@ +#ifndef _STRUCT_TIMESPEC #include