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:51:40 +0200
commit568a5210e0fde8b5cb6a70296276d4b4c3c7dd9b (patch)
tree49ac0a39bfe217669434d4f823cff617716ba9b6 /crypto/asn1
parent3bd605fd7a35f502e754527394611f103980dd08 (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) (cherry picked from commit b379fe6cd046b9dd8a62309dcbaded763e2d4187)
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 7e21a5ec9f..3b261eba41 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 00ab136f02..fb3607cbbd 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>