* tests/test-getaddrinfo.c (simple): Test for EAI_NODATA only
if it is defined.
+2009-11-03 Jim Meyering <meyering@redhat.com>
+
+ test-getaddrinfo: avoid compilation failure on FreeBSD 7.2
+ * tests/test-getaddrinfo.c (simple): Test for EAI_NODATA only
+ if it is defined.
+
2009-11-02 Eric Blake <ebb9@byu.net>
mktime, timegm: share common declaration
fail the test merely because of this. */
if (res == EAI_SERVICE)
return 0;
+#ifdef EAI_NODATA
/* AIX reports EAI_NODATA for "https". Don't fail the test
merely because of this. */
if (res == EAI_NODATA)
return 0;
+#endif
/* Provide details if errno was set. */
if (res == EAI_SYSTEM)
dbgprintf ("system error: %s\n", strerror (err));