summaryrefslogtreecommitdiff
path: root/include/ossl_random.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ossl_random.hpp')
-rw-r--r--include/ossl_random.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ossl_random.hpp b/include/ossl_random.hpp
index b392410986..0e28944d83 100644
--- a/include/ossl_random.hpp
+++ b/include/ossl_random.hpp
@@ -2,7 +2,10 @@
#include "logging.hpp"
+extern "C"
+{
#include <openssl/rand.h>
+}
#include <iostream>
#include <limits>