summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
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/asn1
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/asn1')
-rw-r--r--crypto/asn1/a_digest.c5
-rw-r--r--crypto/asn1/a_sign.c5
-rw-r--r--crypto/asn1/a_verify.c5
3 files changed, 3 insertions, 12 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>