From: Jim Meyering <meyering(a)redhat.com>
* 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