]> git.marmaro.de Git - mmh/blobdiff - sbr/client.c
#ifdef AI_ADDRCONFIG since older IPv4-only systems may not define this flag,
[mmh] / sbr / client.c
index a03809e1e1787037301beee3391b16b1648620da..d3374ad4862b934c4a62df3aeeed9bf124c3698a 100644 (file)
@@ -60,7 +60,9 @@ client (char *args, char *service, char *response, int len_response, int debug)
     }
 
     memset(&hints, 0, sizeof(hints));
+#ifdef AI_ADDRCONFIG
     hints.ai_flags = AI_ADDRCONFIG;
+#endif
     hints.ai_family = PF_UNSPEC;
     hints.ai_socktype = SOCK_STREAM;