From 33f62603520d6fe717ebb037cb5b81a07d4f93e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Sun, 16 Feb 2020 23:03:51 +0100 Subject: [PATCH] util: vircgroup: include unistd.h rather than virutil.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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án Tomko Reviewed-by: Daniel Henrique Barboza --- 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 @@ #pragma once -#include "virutil.h" #include "virbitmap.h" #include "virenum.h" 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 +#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 +#include #ifdef __linux__ # include # include -- GitLab