aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy/getentropy
diff options
context:
space:
mode:
authorDavid Carlier <[email protected]>2020-12-13 17:33:48 +0000
committerDavid Carlier <[email protected]>2020-12-13 17:33:48 +0000
commit9d314f65389ef8d8341aee8533cafe88c56a602e (patch)
treee890a375c0aac2431a483c1d82a98fff3a0fe21d /src/lib/entropy/getentropy
parentbbf0f222c53fece7795f128b7647bc98cb12be20 (diff)
Solaris and Illumos distributions support getentropy.
Diffstat (limited to 'src/lib/entropy/getentropy')
-rw-r--r--src/lib/entropy/getentropy/getentropy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/entropy/getentropy/getentropy.cpp b/src/lib/entropy/getentropy/getentropy.cpp
index 7e87367a2..a1a6169b0 100644
--- a/src/lib/entropy/getentropy/getentropy.cpp
+++ b/src/lib/entropy/getentropy/getentropy.cpp
@@ -7,7 +7,7 @@
#include <botan/internal/getentropy.h>
-#if defined(BOTAN_TARGET_OS_IS_OPENBSD) || defined(BOTAN_TARGET_OS_IS_FREEBSD)
+#if defined(BOTAN_TARGET_OS_IS_OPENBSD) || defined(BOTAN_TARGET_OS_IS_FREEBSD) || defined(BOTAN_TARGET_OS_IS_SOLARIS)
#include <unistd.h>
#else
#include <sys/random.h>