From 0891de31145e7d24150522f1295d85dcaaf130d4 Mon Sep 17 00:00:00 2001
From: Aditya Kamath <Aditya.Kamath1@ibm.com>
Date: Wed, 20 May 2026 05:13:28 -0500
Subject: [PATCH 3/3] Disable syscall.h for AIX

---
 crypto/fipsmodule/rand/urandom.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/crypto/fipsmodule/rand/urandom.c b/crypto/fipsmodule/rand/urandom.c
index f97d83330..b339239c7 100644
--- a/crypto/fipsmodule/rand/urandom.c
+++ b/crypto/fipsmodule/rand/urandom.c
@@ -41,7 +41,9 @@
 #include <sys/ioctl.h>
 #endif
 #include <sys/param.h>
+#ifndef _AIX
 #include <sys/syscall.h>
+#endif
 
 #if defined(OPENSSL_ANDROID)
 #include <sys/system_properties.h>
-- 
2.51.2

