summaryrefslogtreecommitdiffstats
path: root/crypto
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
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')
-rw-r--r--crypto/asn1/a_digest.c5
-rw-r--r--crypto/asn1/a_sign.c5
-rw-r--r--crypto/asn1/a_verify.c5
-rw-r--r--crypto/rand/randfile.c4
-rw-r--r--crypto/x509/by_dir.c4
5 files changed, 5 insertions, 18 deletions
diff --git a/crypto/asn1/a_digest.c b/crypto/asn1/a_digest.c
index 46bff0d88f..c84ecc9b4b 100644
--- a/crypto/asn1/a_digest.c
+++ b/crypto/asn1/a_digest.c
@@ -9,13 +9,10 @@
#include <stdio.h>
#include <time.h>
+#include <sys/types.h>
#include "internal/cryptlib.h"
-#ifndef NO_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/buffer.h>
diff --git a/crypto/asn1/a_sign.c b/crypto/asn1/a_sign.c
index 5683cbbe83..3350459543 100644
--- a/crypto/asn1/a_sign.c
+++ b/crypto/asn1/a_sign.c
@@ -9,13 +9,10 @@
#include <stdio.h>
#include <time.h>
+#include <sys/types.h>
#include "internal/cryptlib.h"
-#ifndef NO_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <openssl/bn.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
diff --git a/crypto/asn1/a_verify.c b/crypto/asn1/a_verify.c
index ec51d3e7cd..9b57e74070 100644
--- a/crypto/asn1/a_verify.c
+++ b/crypto/asn1/a_verify.c
@@ -9,13 +9,10 @@
#include <stdio.h>
#include <time.h>
+#include <sys/types.h>
#include "internal/cryptlib.h"
-#ifndef NO_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <openssl/bn.h>
#include <openssl/x509.h>
#include <openssl/objects.h>
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>
diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c
index 201ed12c45..d8142977a8 100644
--- a/crypto/x509/by_dir.c
+++ b/crypto/x509/by_dir.c
@@ -10,12 +10,10 @@
#include <stdio.h>
#include <time.h>
#include <errno.h>
+#include <sys/types.h>
#include "internal/cryptlib.h"
-#ifndef NO_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#ifndef OPENSSL_NO_POSIX_IO
# include <sys/stat.h>
#endif