[libvirt] [PATCH 05/17] adapt to API change in gnulib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jim Meyering <meyering@xxxxxxxxxx>

* qemud/qemud.c: Include <netdb.h>, not "getaddrinfo.h"
* src/remote_internal.c: Likewise.
---
 qemud/qemud.c         |    2 +-
 src/remote_internal.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/qemud/qemud.c b/qemud/qemud.c
index b98e55a..b804c3b 100644
--- a/qemud/qemud.c
+++ b/qemud/qemud.c
@@ -47,11 +47,11 @@
 #include <fnmatch.h>
 #include <grp.h>
 #include <signal.h>
+#include <netdb.h>

 #include "internal.h"

 #include "qemud.h"
-#include "getaddrinfo.h"
 #include "util.h"
 #include "remote_internal.h"
 #include "conf.h"
diff --git a/src/remote_internal.c b/src/remote_internal.c
index 24f938a..787cfaa 100644
--- a/src/remote_internal.c
+++ b/src/remote_internal.c
@@ -58,7 +58,7 @@
 #endif
 #include <libxml/uri.h>

-#include "getaddrinfo.h"
+#include <netdb.h>

 /* AI_ADDRCONFIG is missing on some systems. */
 #ifndef AI_ADDRCONFIG
-- 
1.6.0.3.756.gb776d

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]