Changeset View
Changeset View
Standalone View
Standalone View
src/random.cpp
Show All 32 Lines | #if defined(HAVE_GETENTROPY) || \ | ||||
(defined(HAVE_GETENTROPY_RAND) && defined(MAC_OSX)) | (defined(HAVE_GETENTROPY_RAND) && defined(MAC_OSX)) | ||||
#include <unistd.h> | #include <unistd.h> | ||||
#endif | #endif | ||||
#if defined(HAVE_GETENTROPY_RAND) && defined(MAC_OSX) | #if defined(HAVE_GETENTROPY_RAND) && defined(MAC_OSX) | ||||
#include <sys/random.h> | #include <sys/random.h> | ||||
#endif | #endif | ||||
#ifdef HAVE_SYSCTL_ARND | #ifdef HAVE_SYSCTL_ARND | ||||
#include <sys/sysctl.h> | #include <sys/sysctl.h> | ||||
#include <utilstrencodings.h> // for ARRAYLEN | |||||
#endif | #endif | ||||
#include <mutex> | #include <mutex> | ||||
#if defined(__x86_64__) || defined(__amd64__) || defined(__i386__) | #if defined(__x86_64__) || defined(__amd64__) || defined(__i386__) | ||||
#include <cpuid.h> | #include <cpuid.h> | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 436 Lines • Show Last 20 Lines |