summaryrefslogtreecommitdiff
path: root/tests/virfiletest.c
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2020-02-16 22:59:28 +0100
committerJán Tomko <jtomko@redhat.com>2020-02-24 23:15:50 +0100
commitabd68b2bdb110991a858139a7f273027ccd86615 (patch)
tree4333e0c8d43fc80bb242939f9b371481b10cdeba /tests/virfiletest.c
parentec056fba8e3a132bd0d5c3a2b0173a646dcaf3de (diff)
downloadlibvirt-abd68b2bdb110991a858139a7f273027ccd86615.tar.gz
Include unistd.h where used
Include unistd.h in all files that use it, instead of relying on it being pulled in via virutil.h Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'tests/virfiletest.c')
-rw-r--r--tests/virfiletest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/virfiletest.c b/tests/virfiletest.c
index a412fdad23..d410bb68e4 100644
--- a/tests/virfiletest.c
+++ b/tests/virfiletest.c
@@ -19,6 +19,7 @@
#include <config.h>
#include <fcntl.h>
+#include <unistd.h>
#include "testutils.h"
#include "virfile.h"