Commit ce1ab241 authored by Bernd Edlinger's avatar Bernd Edlinger
Browse files

Cleanup includes in rand_unix.c



Fixes #9757

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9761)

(cherry picked from commit 41ffd2ab09d24692c71850ccd7d5ff154196fe01)
parent aa24cc01
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -19,12 +19,13 @@
#include "internal/rand_int.h"
#include <stdio.h>
#include "internal/dso.h"
#if defined(__linux)
# include <asm/unistd.h>
# include <sys/ipc.h>
#ifdef __linux
# include <sys/syscall.h>
# ifdef DEVRANDOM_WAIT
#  include <sys/shm.h>
#  include <sys/utsname.h>
# endif
#endif
#if defined(__FreeBSD__) && !defined(OPENSSL_SYS_UEFI)
# include <sys/types.h>
# include <sys/sysctl.h>