diff options
Diffstat (limited to 'src/lib/rng/system_rng/system_rng.cpp')
-rw-r--r-- | src/lib/rng/system_rng/system_rng.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/rng/system_rng/system_rng.cpp b/src/lib/rng/system_rng/system_rng.cpp index d5588c7d1..af508fd90 100644 --- a/src/lib/rng/system_rng/system_rng.cpp +++ b/src/lib/rng/system_rng/system_rng.cpp @@ -8,27 +8,27 @@ #include <botan/system_rng.h> #if defined(BOTAN_TARGET_OS_HAS_RTLGENRANDOM) -#include <botan/dyn_load.h> -#define NOMINMAX 1 -#define _WINSOCKAPI_ // stop windows.h including winsock.h -#include <windows.h> + #include <botan/dyn_load.h> + #define NOMINMAX 1 + #define _WINSOCKAPI_ // stop windows.h including winsock.h + #include <windows.h> #elif defined(BOTAN_TARGET_OS_HAS_CRYPTO_NG) -#include <bcrypt.h> + #include <bcrypt.h> #elif defined(BOTAN_TARGET_OS_HAS_ARC4RANDOM) -#include <stdlib.h> + #include <stdlib.h> #elif defined(BOTAN_TARGET_OS_HAS_GETRANDOM) -#include <sys/random.h> -#include <errno.h> + #include <sys/random.h> + #include <errno.h> #elif defined(BOTAN_TARGET_OS_HAS_DEV_RANDOM) -#include <sys/types.h> -#include <sys/stat.h> -#include <fcntl.h> -#include <unistd.h> -#include <errno.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> + #include <unistd.h> + #include <errno.h> #endif namespace Botan { |