summaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-08-25 14:51:45 +0200
committerRichard Levitte <levitte@openssl.org>2017-08-25 15:50:59 +0200
commitb379fe6cd046b9dd8a62309dcbaded763e2d4187 (patch)
treea0f8b0f33d944f090743334a063562791b320d34 /crypto/rand
parent0a8ddc17f57691c8e2e2446c4126fb4133d07d21 (diff)
NO_SYS_TYPES_H isn't defined anywhere, stop using it as a guard
This is a vestige from pre-1.1.0 OpenSSL Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4256)
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/randfile.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c
index f502642997..d024f69fe6 100644
--- a/crypto/rand/randfile.c
+++ b/crypto/rand/randfile.c
@@ -21,9 +21,7 @@
#ifdef OPENSSL_SYS_VMS
# include <unixio.h>
#endif
-#ifndef NO_SYS_TYPES_H
-# include <sys/types.h>
-#endif
+#include <sys/types.h>
#ifndef OPENSSL_NO_POSIX_IO
# include <sys/stat.h>
# include <fcntl.h>