summaryrefslogtreecommitdiff
path: root/Utilities/cmlibuv/src/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmlibuv/src/random.c')
-rw-r--r--Utilities/cmlibuv/src/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibuv/src/random.c b/Utilities/cmlibuv/src/random.c
index 491bf70330..e75f77deb2 100644
--- a/Utilities/cmlibuv/src/random.c
+++ b/Utilities/cmlibuv/src/random.c
@@ -33,7 +33,7 @@ static int uv__random(void* buf, size_t buflen) {
#if defined(__PASE__)
rc = uv__random_readpath("/dev/urandom", buf, buflen);
-#elif defined(_AIX)
+#elif defined(_AIX) || defined(__QNX__)
rc = uv__random_readpath("/dev/random", buf, buflen);
#elif defined(__APPLE__) || defined(__OpenBSD__) || \
(defined(__ANDROID_API__) && __ANDROID_API__ >= 28)