]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: virportallocator: add includes
authorJán Tomko <jtomko@redhat.com>
Sun, 23 Feb 2020 22:11:34 +0000 (23:11 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 24 Feb 2020 22:15:49 +0000 (23:15 +0100)
Include both virutil.h and unistd.h.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/util/virportallocator.c

index 285b8ddc45a47e2b90f623c0f8671c69e4aa47fe..2d34b617a681d52cc9665a281d55faf2395a0e8f 100644 (file)
@@ -21,6 +21,8 @@
 
 #include <config.h>
 
+#include <unistd.h>
+
 #include "virsocket.h"
 #include "viralloc.h"
 #include "virbitmap.h"
@@ -29,6 +31,7 @@
 #include "virerror.h"
 #include "virfile.h"
 #include "virstring.h"
+#include "virutil.h"
 
 #define VIR_FROM_THIS VIR_FROM_NONE