Cleanup includes in rand_unix.c

Fixes #9757

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9761)
This commit is contained in:
Bernd Edlinger 2019-09-04 11:39:54 +02:00
parent 1c3ace6898
commit 41ffd2ab09

View File

@ -19,11 +19,12 @@
#include "internal/rand_int.h"
#include <stdio.h>
#include "internal/dso.h"
#if defined(__linux)
# include <asm/unistd.h>
# include <sys/ipc.h>
# include <sys/shm.h>
# include <sys/utsname.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>