From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.9784.1642416785074873812 for ; Mon, 17 Jan 2022 02:53:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cE8LVHbV; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1642416784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SO+3KmzLozQ+9mQhIEzll33rJqANNCyvwJ8Ra2i+SDY=; b=cE8LVHbVUgKcWXrV2EYdBZwXgkvyu1W0S2ql0usP8bpXGJhC3k5Wiw+jsNFKcanti6rARG TJxcVuzCack/8KZiKyoYBBa6yclI8HU2LJUk/HbGPP+bzj88Ts56eDWxQ54U/jQ2W+Xg+v /odXIAm4CkoCQ5lHT+GIl3hNbZo9sVU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-610-zpUI1CNyOxKes2MfNDuArA-1; Mon, 17 Jan 2022 05:53:02 -0500 X-MC-Unique: zpUI1CNyOxKes2MfNDuArA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B4A771937FC2; Mon, 17 Jan 2022 10:53:01 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EEFAD7CAD6; Mon, 17 Jan 2022 10:52:45 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 5EA2A180063C; Mon, 17 Jan 2022 11:52:34 +0100 (CET) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Xiaoyu Lu , Pawel Polawski , Guomin Jiang , Jiewen Yao , Jian J Wang , Gerd Hoffmann Subject: [PATCH 6/8] CryptoPkg/CrtLibSupport: add off_t Date: Mon, 17 Jan 2022 11:52:32 +0100 Message-Id: <20220117105234.1981719-7-kraxel@redhat.com> In-Reply-To: <20220117105234.1981719-1-kraxel@redhat.com> References: <20220117105234.1981719-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Add typedef for off_t. Will be needed by openssl 3.0. Signed-off-by: Gerd Hoffmann --- CryptoPkg/Library/Include/CrtLibSupport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h b/CryptoPkg/Library/Include/CrtLibSupport.h index aff9daaee809..fd8e8e1a938b 100644 --- a/CryptoPkg/Library/Include/CrtLibSupport.h +++ b/CryptoPkg/Library/Include/CrtLibSupport.h @@ -104,6 +104,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent // Basic types mapping // typedef UINTN size_t; +typedef UINTN off_t; typedef UINTN u_int; typedef INTN ptrdiff_t; typedef INTN ssize_t; -- 2.34.1