These tests do not use anything from virutil.h
apart from the transitive include.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
tests/virlockspacetest.c | 2 +-
tests/virnetsockettest.c | 2 +-
tests/virnettlscontexttest.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/virlockspacetest.c b/tests/virlockspacetest.c
index 3afedb4c46..1f156ba3d6 100644
--- a/tests/virlockspacetest.c
+++ b/tests/virlockspacetest.c
@@ -19,10 +19,10 @@
#include <config.h>
#include <signal.h>
+#include <unistd.h>
#include <sys/stat.h>
#include "testutils.h"
-#include "virutil.h"
#include "virerror.h"
#include "viralloc.h"
#include "virfile.h"
diff --git a/tests/virnetsockettest.c b/tests/virnetsockettest.c
index 9dfc707c90..78fb9cbffd 100644
--- a/tests/virnetsockettest.c
+++ b/tests/virnetsockettest.c
@@ -19,12 +19,12 @@
#include <config.h>
#include <signal.h>
+#include <unistd.h>
#ifdef HAVE_IFADDRS_H
# include <ifaddrs.h>
#endif
#include "testutils.h"
-#include "virutil.h"
#include "virerror.h"
#include "viralloc.h"
#include "virlog.h"
diff --git a/tests/virnettlscontexttest.c b/tests/virnettlscontexttest.c
index 328b1340d6..6d970d0ea8 100644
--- a/tests/virnettlscontexttest.c
+++ b/tests/virnettlscontexttest.c
@@ -19,10 +19,10 @@
#include <config.h>
#include <fcntl.h>
+#include <unistd.h>
#include "testutils.h"
#include "virnettlshelpers.h"
-#include "virutil.h"
#include "virerror.h"
#include "viralloc.h"
#include "virlog.h"
--
2.24.1