1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

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: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
Ján Tomko 2020-02-16 23:03:51 +01:00
parent 44256e3f2c
commit 33f6260352
3 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,6 @@
#pragma once
#include "virutil.h"
#include "virbitmap.h"
#include "virenum.h"

View File

@ -20,6 +20,7 @@
*/
#include <config.h>
#include <unistd.h>
#ifdef __linux__
# include <mntent.h>
# include <sys/stat.h>

View File

@ -19,6 +19,7 @@
*/
#include <config.h>
#include <unistd.h>
#ifdef __linux__
# include <mntent.h>
# include <sys/mount.h>