From nobody Mon Feb 9 09:22:37 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 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=1582500351; cv=none; d=zohomail.com; s=zohoarc; b=KvkzQ6cjep6o4OhjN34OCrdlaRn0W9oyucyR495HYLV5Cvuak65MUyNN53SDOk+JjJDOwx1W5svnmsLUIuh2g0X3PdPjDQh5qEbHo+mHDpdciU4HCYB0aYK0frxdWWWRt6UgZBWa64pmlXiM8WDUr1QFSFWcBfQW9SRMiGpu4tM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582500351; 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=UOq5vHSGN3/JkOq01Rbp2Qdolevi8Y6FLexrmu86hnI=; b=ZjT9tFuYE+ETdpPyhH4Af6qVPFqRs/dScEkgFCOUaBnAxGR1DP4j4twGMYY9209UEOK873f+A8ZxukNM26yU8XtpHwqFzSReOw/a7tSmetWGJEk95O++yFZRSk5C7zZnfrucu+Ug5ZybpH1vsde5BgRAmMKPkQcZGRvB9VYP6yU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1582500351330431.2913890577729; Sun, 23 Feb 2020 15:25:51 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-12-XuAun8x6Pn2NJTO8CY4JjA-1; Sun, 23 Feb 2020 18:25:46 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A0D8C8017DF; Sun, 23 Feb 2020 23:25:40 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 595425D9CD; Sun, 23 Feb 2020 23:25:39 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 501A3860D2; Sun, 23 Feb 2020 23:25:38 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 01NNPaRF030885 for ; Sun, 23 Feb 2020 18:25:36 -0500 Received: by smtp.corp.redhat.com (Postfix) id 8788B5C3FA; Sun, 23 Feb 2020 23:25:36 +0000 (UTC) Received: from lpt.redhat.com (ovpn-200-20.brq.redhat.com [10.40.200.20]) by smtp.corp.redhat.com (Postfix) with ESMTP id 97F675C241 for ; Sun, 23 Feb 2020 23:25:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582500349; 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=UOq5vHSGN3/JkOq01Rbp2Qdolevi8Y6FLexrmu86hnI=; b=GLd7XykuZKB7i4ifmjvDbUTZVS0vwAEptjhx6koB6vRlzOQKmRVC99MoXwxEJmxBNX2XYN JonrlxUZq/S71/Ou5jDg/pC3aaydOtPpga1WFM+aYE3dIwGp+tfeebS6lqjLoB75XPgghY Ggyi+SOP9d8ALSrnu066SiLzAbo+OZM= X-MC-Unique: XuAun8x6Pn2NJTO8CY4JjA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 3/8] util: vircgroup: include unistd.h rather than virutil.h Date: Mon, 24 Feb 2020 00:25:23 +0100 Message-Id: <1da8e7c696c5683bb5c45e50c3cd275e25cc55cb.1582500308.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" There is nothing in the vircgroup.h header file requiring virutil.h. Remove it and include unistd.h in the C files. Signed-off-by: J=C3=A1n Tomko --- src/util/vircgroup.h | 1 - src/util/vircgroupv1.c | 1 + src/util/vircgroupv2.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/vircgroup.h b/src/util/vircgroup.h index a5bd35586d..1dcd0688f1 100644 --- a/src/util/vircgroup.h +++ b/src/util/vircgroup.h @@ -21,7 +21,6 @@ =20 #pragma once =20 -#include "virutil.h" #include "virbitmap.h" #include "virenum.h" =20 diff --git a/src/util/vircgroupv1.c b/src/util/vircgroupv1.c index d2ec7106db..5504441fa6 100644 --- a/src/util/vircgroupv1.c +++ b/src/util/vircgroupv1.c @@ -20,6 +20,7 @@ */ #include =20 +#include #ifdef __linux__ # include # include diff --git a/src/util/vircgroupv2.c b/src/util/vircgroupv2.c index 1d8c599f6a..80f596542c 100644 --- a/src/util/vircgroupv2.c +++ b/src/util/vircgroupv2.c @@ -19,6 +19,7 @@ */ #include =20 +#include #ifdef __linux__ # include # include --=20 2.24.1