From nobody Wed Feb 09 17:28:44 2022 X-Original-To: dev-commits-src-all@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 C7C2719B5C68; Wed, 9 Feb 2022 17:28: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 4Jv6L45Dcbz3NTd; Wed, 9 Feb 2022 17:28:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644427724; 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=f1TsE+fCYYDeuhw1n8ufE4QceO39B48fNM3UVy+wVHU=; b=yZyitq0qKL+SENsCqgvEup60a0etZsNuZAhgtM+/y4NuR5D+YfNPPPycMQPBXCzukW9GlI ju4VRdT02kl2tIRh/tCdYvXN8fnm1VHPdNCpo7b0p9540kOkevw4EZ1CupEkyORXfempue LdoztOcuKhPLj0Q1FAOXQeF4Q1++GctdbGI/eWghEjCsSbQyEngPlKIyp9WvEoDaxd7vL3 nAwvcOfuTokKndS3ZjCU0fxXOEoFHB6EgDnmuZIZzQRGJn2ctfOv9wkqpvWtyKJIbNzZXo Hs0PcHoEjvikttXdU6LJcJo7p2VLZAvxOKpKLHWfbV+iFP6/fWSo0SsVpU5dlg== 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 9344111351; Wed, 9 Feb 2022 17:28: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 219HSiFb019154; Wed, 9 Feb 2022 17:28:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 219HSibM019153; Wed, 9 Feb 2022 17:28:44 GMT (envelope-from git) Date: Wed, 9 Feb 2022 17:28:44 GMT Message-Id: <202202091728.219HSibM019153@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 9c6aee3eff23 - stable/12 - Explicitly include semaphore.h for struct _sem in fusefs setattr test List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/12 X-Git-Reftype: branch X-Git-Commit: 9c6aee3eff239cc90a48dfe2ec39d2779255250f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644427724; 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=f1TsE+fCYYDeuhw1n8ufE4QceO39B48fNM3UVy+wVHU=; b=uWTeKRCeJNNdBdhehYxxm/2+eKdrflTBpQADdZKNQSV1Ci0oAsC+lqF9RBXs3kEJOtXlrz 3Aaagxrr/LU/ij0kwuJuIjjnXAYdQr5RDVR7trwimaSgVjzR4tmQAFrp09F87vOb3s+VeA z5NwyYn3Q6UZ34yaWA9qTe0bb/JDKGamhvyAu1Zoa7a5abMpkbU/1CubL6h7W2T+XGRQKh SQM0+e2h06SafSOPQRcjn5MJFwFMHppTcbYBMRa4wEzn+4osIdguF8c8we6Dccu/GXAxNZ RbOmlSvoslpXBwcOHdvZkuBJ/7PvxgKl3MPOHTPl93is8ae3CMLb/NreGD17zQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644427724; a=rsa-sha256; cv=none; b=EVR+zksgpRKuWPT1XtE4dumnJRUjR8aXqHYmh8bc3XK+OXBrnCeO+ccJgAganu/iajPwJh R9Dyr0fw0kxZYDGMczZIeXfDm2rbheHp7MB4Bf5Ryf63pv4TOYTLZpGb+9kBBtMMticZs4 dxe5qvKSai058uVFGsjfgdJW7Qnxkdi3ugXbHZibVoPkl2WZ5f4XdaFKC4lrQ4fIHxt9xk ooKpAmaNnBp7Q6ReoqM4mLVxUstY/NryiKmPzwD1Dl2JlcPgCjV5ylMAB7dqEk6L8ObS1F EIS1rtkgrnJ0B6hy45pJPHWy0xQgXIklfbFSbEEJCSr2IneJYXP7yOl07NPgwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=9c6aee3eff239cc90a48dfe2ec39d2779255250f commit 9c6aee3eff239cc90a48dfe2ec39d2779255250f Author: Dimitry Andric AuthorDate: 2022-02-06 16:07:16 +0000 Commit: Dimitry Andric CommitDate: 2022-02-09 17:26:34 +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 (cherry picked from commit c9cabf9aa6feb542776333fe5e915a3464f89e3c) --- 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"