summaryrefslogtreecommitdiffstats
path: root/crypto/x509/by_dir.c
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/x509/by_dir.c
parentFix description of how to report a bug in INSTALL (diff)
downloadopenssl-b379fe6cd046b9dd8a62309dcbaded763e2d4187.tar.xz
openssl-b379fe6cd046b9dd8a62309dcbaded763e2d4187.zip
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/x509/by_dir.c')
-rw-r--r--crypto/x509/by_dir.c4
1 files changed, 1 insertions, 3 deletions
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