From nobody Sun Feb 06 16:07:44 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A35B619A5046; Sun, 6 Feb 2022 16:07:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JsDh049zYz4fjX; Sun, 6 Feb 2022 16:07:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644163664; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qjdlIMCmKT4TVF7g4EuE0MvtIgqU4eBbjV/2dN9ZQng=; b=NoCnnQPm3rWr1Dhhz094h/yqnDf2uBHSMjCL9lKIOP/81Sj99Y2KyMocl939GX+NKYp96f MpBdFFi8NO/k38hLPkJRrKX8ufsjQkHaa35vBO1E1+w8IOu7gf4pEomJcaD1JnBpqzIFVc +Tjx1CsVGbCaphvRjCLEt3ahH8zESA8VW7phaaDb2jRdII6H4VMC8IxlH9J4eRUnZ65lNK JTVRQ2wajb0m/YwAV1EYoc7GfMX6bJlk+BkPPWX7DLQt+RtfLM305RIbi+f6M2m4BSB56P Xe5h4RFm42dQ7ENVmLdXzrsr9e2etM96wAZjXIdyNY9NyIKO+ySkh5007ElPOQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6A76115698; Sun, 6 Feb 2022 16:07:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 216G7iQK036607; Sun, 6 Feb 2022 16:07:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 216G7ixJ036606; Sun, 6 Feb 2022 16:07:44 GMT (envelope-from git) Date: Sun, 6 Feb 2022 16:07:44 GMT Message-Id: <202202061607.216G7ixJ036606@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dimitry Andric Subject: git: c9cabf9aa6fe - main - Explicitly include semaphore.h for struct _sem in fusefs setattr test List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c9cabf9aa6feb542776333fe5e915a3464f89e3c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644163664; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qjdlIMCmKT4TVF7g4EuE0MvtIgqU4eBbjV/2dN9ZQng=; b=NWhH1psOmcLCP1PhqC2JsZ6OPbDi8OCl/4K9DWP8Fji4Vraj45/Wec3doKTDQAZcfVnZeg BKdk+rFVXHXpD2P9Qa0KaJ0CEWZXrvCIqyZCymJVD/IZb2gLuAwdWQMRlMZDEmPXZ3W22p 2thBUtpfX9/lgmzB2m8l4WT63rtcNeGQmlHNV7mBsCYCUYT1Ok0S0h4PLZMTg3A8/WBUHC jIjmieBaOWsKnEhZV0cAtXdb8WtfPyxnB4Ln+OoTbCnysij7uXQZNe6YmLvXitocJBrpbw KGExcO99e4BaBTR0C6D0dXnDz6T6S5i7jt7BRP5ENg1Wupjb/4uTyEZwoOd3sg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644163664; a=rsa-sha256; cv=none; b=FdfKo9dOK1ybyPsfueHxvg3cktbXHqYPuBoxE9E9iwdSfc1Vx+ua1WncA+WUtL3CengQe0 1ZyoqhWzOXuYFYEF2O18ceqwnNnAN6J2B3YS5D6pWTKgg5b5G7hjWeS1YXrnScapBz4sPo UDgc8gs1ucAw1ig0PhHAyNkIJSGF3YbOJjgFp/cjnycufwzNf2IVT2y8NGhxrUe5QIz92U Y2w0LPtPtx/KW0f20ayVNNVjBs2ggb3l9V6rG3eAwIoc1h0qQGJUNNM9YjAbpwqUJh7e80 C/6iXAXMaeCPiVaf6QB3rcQV1piqkG9ElDbrm2hJ2yJWnztIDPXCQrAfpWXKjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=c9cabf9aa6feb542776333fe5e915a3464f89e3c commit c9cabf9aa6feb542776333fe5e915a3464f89e3c Author: Dimitry Andric AuthorDate: 2022-02-06 16:07:16 +0000 Commit: Dimitry Andric CommitDate: 2022-02-06 16:07:28 +0000 Explicitly include semaphore.h for struct _sem in fusefs setattr test In libc++'s __threading_support header the semaphore.h header was implicitly included, but from version 14 onwards, this is no longer the case, resulting in compile errors: tests/sys/fs/fusefs/setattr.cc:740:8: error: variable has incomplete type 'sem_t' (aka '_sem') sem_t sem; ^ tests/sys/fs/fusefs/utils.hh:33:8: note: forward declaration of '_sem' struct _sem; ^ MFC after: 3 days --- tests/sys/fs/fusefs/setattr.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/sys/fs/fusefs/setattr.cc b/tests/sys/fs/fusefs/setattr.cc index e4458db9f8ee..00b37ec7965a 100644 --- a/tests/sys/fs/fusefs/setattr.cc +++ b/tests/sys/fs/fusefs/setattr.cc @@ -34,6 +34,7 @@ extern "C" { #include #include +#include } #include "mockfs.hh"