From 7c5a710c5543debff0c70cb4839e15e9a1da322b Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Mon, 16 Jul 2018 13:30:11 +0300 Subject: Added getentropy() support. Prodded by David Carlier. --- src/nxt_unix.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nxt_unix.h') diff --git a/src/nxt_unix.h b/src/nxt_unix.h index 33e9f247..151dd555 100644 --- a/src/nxt_unix.h +++ b/src/nxt_unix.h @@ -234,6 +234,8 @@ #include /* getrandom(). */ #elif (NXT_HAVE_LINUX_SYS_GETRANDOM) #include /* SYS_getrandom. */ +#elif (NXT_HAVE_GETENTROPY_SYS_RANDOM) +#include /* getentropy(). */ #endif -- cgit