summaryrefslogtreecommitdiffstats
path: root/daemon/guestfsd.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-11-25 14:40:39 +0000
committerRichard Jones <rjones@redhat.com>2009-11-25 16:28:26 +0000
commitb20a0916d8711fd3fb448dc5d4febee9d7a6331c (patch)
treef1cb380ea2a617d275d865846374caeae10e102e /daemon/guestfsd.c
parent579465ec1f4fdb1789bf94ac7356a3c961f3ae93 (diff)
downloadlibguestfs-b20a0916d8711fd3fb448dc5d4febee9d7a6331c.tar.gz
libguestfs-b20a0916d8711fd3fb448dc5d4febee9d7a6331c.tar.xz
libguestfs-b20a0916d8711fd3fb448dc5d4febee9d7a6331c.zip
daemon/Win32: Use gnulib getaddrinfo module.
Diffstat (limited to 'daemon/guestfsd.c')
-rw-r--r--daemon/guestfsd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index eab85298..e6384d21 100644
--- a/daemon/guestfsd.c
+++ b/daemon/guestfsd.c
@@ -51,6 +51,11 @@ static char *read_cmdline (void);
#define GUESTFWD_ADDR "10.0.2.4"
#define GUESTFWD_PORT "6666"
+/* This is only a hint. If not defined, ignore it. */
+#ifndef AI_ADDRCONFIG
+#define AI_ADDRCONFIG 0
+#endif
+
int verbose = 0;
static int print_shell_quote (FILE *stream, const struct printf_info *info, const void *const *args);