diff --git a/src/util/virportallocator.c b/src/util/virportallocator.c index 35f2157a41..590bb570f6 100644 --- a/src/util/virportallocator.c +++ b/src/util/virportallocator.c @@ -23,6 +23,7 @@ #include #include +#include #include "viralloc.h" #include "virbitmap.h" diff --git a/tests/virportallocatortest.c b/tests/virportallocatortest.c index 3f6edcc394..9931e11638 100644 --- a/tests/virportallocatortest.c +++ b/tests/virportallocatortest.c @@ -25,6 +25,7 @@ # include # include # include +# include int bind(int sockfd ATTRIBUTE_UNUSED, const struct sockaddr *addr,