--- src/pam_radius_auth.h.orig	2022-03-24 07:12:52 +0000
+++ src/pam_radius_auth.h	2022-03-24 07:13:09 +0000
@@ -61,9 +61,10 @@
 /*************************************************************************
  * Platform specific defines
  *************************************************************************/
+#define __aix
 
 #ifndef CONST
-#  if defined(__sun) || defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
+#  if defined(__sun) || defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__aix)
 /*
  *  On older versions of Solaris, you may have to change this to:
  *  #define CONST
