#include <config.h>
#include "getaddrinfo.h"
-#include "inet_ntop.h"
+#include <arpa/inet.h>
#include <stdio.h>
#include <string.h>
fail the test merely because of this. */
if (res == EAI_SERVICE)
return 0;
+ /* AIX reports EAI_NODATA for "https". Don't fail the test
+ merely because of this. */
+ if (res == EAI_NODATA)
+ return 0;
return 1;
}