From nobody Mon Feb 9 09:16:38 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1646643681; cv=none; d=zohomail.com; s=zohoarc; b=kSJWquWbXKvU6opTV9NKsZ+ii89zNzL8Hy/CbaitLoeF4u6xWFJaseNWakqWzuJW8HvKjbbn29W5czNeZCGvQlLIS29LQgKTMhUCKCdct5ChMO+UMc4S7X+dlqVgmSaSMnLY+au1dfwP3uOl7RBdKGgob6k6tnGAXWcHb1hVo0w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1646643681; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=QG2YO9PTMy3kpUlmmljV/Z6ApygDcgaGStrOa6erAro=; b=e2PUV/qnyXkDFu6xW1agjwaQt4nHraxuF5lv8qar9VuuXVjP7HmMQ/E8ok0tghC2KODrB91HxH6MOr/Mqk+R2XRczUiR2dsSztbQxcoNeooNZTb7YLXP2GJIKgHetSRk2hD9lQLqrAcY6msAiC07ke0ZEJSOLFSEmnMZkO1xhvI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 164664368108653.53432111604832; Mon, 7 Mar 2022 01:01:21 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-615-qyhpFhkxMJaOYhDVt8RQ0Q-1; Mon, 07 Mar 2022 04:01:17 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 031A32999B24; Mon, 7 Mar 2022 09:01:15 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id DEC944750AE; Mon, 7 Mar 2022 09:01:14 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id BA19F1931BDD; Mon, 7 Mar 2022 09:01:14 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id BFF331931BD1 for ; Mon, 7 Mar 2022 09:01:12 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 8273E1FD88; Mon, 7 Mar 2022 09:01:12 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.45]) by smtp.corp.redhat.com (Postfix) with ESMTP id 08C981F470 for ; Mon, 7 Mar 2022 09:01:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646643680; h=from:from:sender:sender: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=QG2YO9PTMy3kpUlmmljV/Z6ApygDcgaGStrOa6erAro=; b=EPgMQH+udcuQamaDfk/bj9RVyuH+hgmvNJEBOKEDk9mX0wdxmzl5ytE/f5LlHZn1pmoBbE RK+0ujeEN7k1vGhqSYAV2Y5PrUz0O8X53TNzk/7HzKY7vuOzAvgnZ5G6I4BuQ5ThO0KacM Fog6n7I2sN/U/AnJrOMOk0yeVtnIDSA= X-MC-Unique: qyhpFhkxMJaOYhDVt8RQ0Q-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 03/17] lxc_fuse.h: Don't include lxc_conf.h Date: Mon, 7 Mar 2022 10:00:53 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1646643681673100005 Content-Type: text/plain; charset="utf-8" Nothing in the lxc_fuse.h header file warrants inclusion of lxc_conf.h. If anything, virconftypes.h must be included because of virDomainDef required by lxcSetupFuse(). It's actually lxc_fuse.c that requires some macros from lxc_fuse.h (e.g. LXC_STATE_DIR). Signed-off-by: Michal Privoznik --- src/lxc/lxc_fuse.c | 1 + src/lxc/lxc_fuse.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lxc/lxc_fuse.c b/src/lxc/lxc_fuse.c index 7b95629955..0550ff5ab4 100644 --- a/src/lxc/lxc_fuse.c +++ b/src/lxc/lxc_fuse.c @@ -27,6 +27,7 @@ =20 #include "lxc_fuse.h" #include "lxc_cgroup.h" +#include "lxc_conf.h" #include "virerror.h" #include "virfile.h" #include "virbuffer.h" diff --git a/src/lxc/lxc_fuse.h b/src/lxc/lxc_fuse.h index 7052391a7b..195e1e431a 100644 --- a/src/lxc/lxc_fuse.h +++ b/src/lxc/lxc_fuse.h @@ -26,7 +26,7 @@ # include #endif =20 -#include "lxc_conf.h" +#include "virconftypes.h" =20 typedef struct virLXCFuse virLXCFuse; =20 --=20 2.34.1