From nobody Wed Feb 09 17:26:59 2022 X-Original-To: dev-commits-src-branches@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 A51D519B54A5; Wed, 9 Feb 2022 17:26:59 +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 4Jv6J34Cbyz3Mlv; Wed, 9 Feb 2022 17:26:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644427619; 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=zuBMxB8mxJM97QBFq/YrWI2bLaW6CtcbYCSydqTXDlA=; b=gC5OQLnHtyE2y/N+k563w2+cbE0R7bZZlFGSpRDEjFUuAz3oBjUmQu9alWUvRb2+qv8slJ Is7RgveGxo4j34hn7mVjzKYr6NYKWyKTkeGaeGOlJk+jmEBBB0iaqVJRcs9/PIsacOFxec fTGew9NjJHhaZCiy56g9lvNvsCSVS3xb578DGHMSFt5xbosyf/Kdhk2eTGK0IPfxG7lcnY 7AYMXld9Pf4R/WF9I2nGJOMkffwCUy+rDntSYiVNltePNZO5IkDWHJPVjGvOd7P2/aQs6+ oXONw8LuPF5H+kpDcf9CY4/E7CBCGWjbn7B1SpeDxLd2EE/W57P5AKbG8AXr1A== 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 702F1115D3; Wed, 9 Feb 2022 17:26:59 +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 219HQxsm018853; Wed, 9 Feb 2022 17:26:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 219HQx8w018852; Wed, 9 Feb 2022 17:26:59 GMT (envelope-from git) Date: Wed, 9 Feb 2022 17:26:59 GMT Message-Id: <202202091726.219HQx8w018852@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: 01cccd704844 - stable/13 - Explicitly include semaphore.h for struct _sem in fusefs setattr test List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/13 X-Git-Reftype: branch X-Git-Commit: 01cccd704844e613d3c40d62cfe72657b99d78cf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644427619; 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=zuBMxB8mxJM97QBFq/YrWI2bLaW6CtcbYCSydqTXDlA=; b=E3maZ71l71ZZs/sZeSfCuOKg4mSOG1ooVgh62BzJbn8QiYEcreoZwRxxdVQyngJHL+4Ty4 W/dq2szmplctlhh5hLJBOw6mcPk4J6h28sXWPCjSQwHTugb5AqDqz6X8e1YocodIu9UCi7 BjPd1Mc3NADhq4A0qot6PYOQgU31FmDrNx07dSDRpXqHeN4hzcbdBWjlwF/IlXC4goLXl7 Z+kO1HhcWapmAY+Y0iLV5PmImkQHzgjyrRIv3sWg203TDags9Yfiffam4vtumeB1dVfKoc nBcjtYqDqYVnxAqNpW5yOESEoaO4ugKAY8BnvU7iVybL+qlyhP4M9RLH1jFQpg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644427619; a=rsa-sha256; cv=none; b=JjmKBFqbbKpj+9nV6nKnunqCazWEh5sAXmcFiMeHgcedPy2AUKjbs4eI8iWy7LMZ7b415f l9ihYorm+HvZIIAUV+2b5WFtnJvZj/A6mn5eOzsFe/sbYvKkeuFyMt7Z3tghW96y4IqzJh 9sfLGuGpyi5OmzRMe5yHMw/jX2hCoHPT/q+qkJlOpZP1tNdwzlI7hPV4nTdQp3EMnT1Dz3 yF2gflpJhl/F64KXqEpVUf1Bow2qTXqLEPTcOU8iEVaW4jzQ5gtg4Tx9npFFKanLphRTxt 6TX2PK0fPAYvAOeKCqNSxNtJDtZsl6E99wn/+xXDirWDFX1xl+Fbbk2v+veDrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=01cccd704844e613d3c40d62cfe72657b99d78cf commit 01cccd704844e613d3c40d62cfe72657b99d78cf Author: Dimitry Andric AuthorDate: 2022-02-06 16:07:16 +0000 Commit: Dimitry Andric CommitDate: 2022-02-09 17:26:08 +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"