summaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-09-24 13:33:09 -0700
committerNick Mathewson <nickm@torproject.org>2016-09-24 13:33:09 -0700
commita633baf6320291b6f3de15557438682ed7fe2eaa (patch)
treea0c8e27dd5eb626a208d5a7f57ce14faff65c800 /src/common/crypto.c
parent9db7bd08f0a04133fcf4ee976d1b8f9a321de5a9 (diff)
parent39f51dfae312d67f4a97366db4b476d520ed0c0f (diff)
downloadtor-a633baf6320291b6f3de15557438682ed7fe2eaa.tar.gz
tor-a633baf6320291b6f3de15557438682ed7fe2eaa.zip
Merge branch 'osx_sierra_028'
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 72c1c45983..56409b47e2 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -67,6 +67,9 @@ ENABLE_GCC_WARNING(redundant-decls)
#ifdef HAVE_SYS_SYSCALL_H
#include <sys/syscall.h>
#endif
+#ifdef HAVE_SYS_RANDOM_H
+#include <sys/random.h>
+#endif
#include "torlog.h"
#include "torint.h"