--- ./libwget/dns.c.orig	2024-10-09 01:07:25.566570580 -0500
+++ ./libwget/dns.c	2024-10-09 01:10:58.314996091 -0500
@@ -227,7 +227,7 @@
 {
 	struct addrinfo hints = {
 		.ai_family = family,
-#ifdef _WIN32
+#if defined(_WIN32) || defined(_AIX)
 		// It looks like on Windows 0 is not a valid option here.
 		// see https://learn.microsoft.com/en-us/windows/win32/api/ws2def/ns-ws2def-addrinfoa
 		// TODO: On Windows, do two calls to getaddrinfo (for TCP and UDP) and merge the results.
