提交 33f62603 编写于 作者: J Ján Tomko

util: vircgroup: include unistd.h rather than virutil.h

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: NJán Tomko <jtomko@redhat.com>
Reviewed-by: NDaniel Henrique Barboza <danielhb413@gmail.com>
上级 44256e3f
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#pragma once #pragma once
#include "virutil.h"
#include "virbitmap.h" #include "virbitmap.h"
#include "virenum.h" #include "virenum.h"
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
*/ */
#include <config.h> #include <config.h>
#include <unistd.h>
#ifdef __linux__ #ifdef __linux__
# include <mntent.h> # include <mntent.h>
# include <sys/stat.h> # include <sys/stat.h>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
*/ */
#include <config.h> #include <config.h>
#include <unistd.h>
#ifdef __linux__ #ifdef __linux__
# include <mntent.h> # include <mntent.h>
# include <sys/mount.h> # include <sys/mount.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册