--- apps/obex_tcp.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/apps/obex_tcp.c b/apps/obex_tcp.c index 7fca284..17204fa 100644 --- a/apps/obex_tcp.c +++ b/apps/obex_tcp.c @@ -61,7 +61,9 @@ static int get_peer_addr(char *name, struct sockaddr_storage *peer) .ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM, .ai_protocol = 0, +#if defined(AI_ADDRCONFIG) .ai_flags = AI_ADDRCONFIG +#endif }; struct addrinfo *info; -- 1.7.4.1 ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Openobex-users mailing list Openobex-users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/openobex-users