--- ./lib/util/util_crypt.c_orig	2025-07-16 01:29:47.226218628 -0400
+++ ./lib/util/util_crypt.c	2025-07-16 01:37:16.562376580 -0400
@@ -14,10 +14,12 @@
 	int ret = 0;
 	const char *hash = NULL;
 
-#if defined(HAVE_CRYPT_R) || defined(HAVE_CRYPT_RN)
+#if (defined(HAVE_CRYPT_R) || defined(HAVE_CRYPT_RN)) && !defined(_AIX)
 	struct crypt_data crypt_data = {
 		.initialized = 0        /* working storage used by crypt */
 	};
+#else
+        struct crypt_data crypt_data;
 #endif
 
 	/*
