diff src/protocols/oscar/ft.c @ 2711:b7455c506979

[gaim-migrate @ 2724] eh. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 13 Nov 2001 06:30:37 +0000
parents e759254b29bb
children 03bf072c6238
line wrap: on
line diff
--- a/src/protocols/oscar/ft.c	Tue Nov 13 06:14:07 2001 +0000
+++ b/src/protocols/oscar/ft.c	Tue Nov 13 06:30:37 2001 +0000
@@ -4,6 +4,9 @@
  */
 
 #define FAIM_INTERNAL
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <aim.h>
 
 
@@ -776,8 +779,7 @@
  */
 static int listenestablish(fu16_t portnum)
 {
-#if defined(__linux__)
-	/* XXX what other OS's support getaddrinfo? */
+#if HAVE_GETADDRINFO
 	int listenfd;
 	const int on = 1;
 	struct addrinfo hints, *res, *ressave;