summaryrefslogtreecommitdiff
path: root/include/openssl/buffer.h
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 /include/openssl/buffer.h
parent0a8ddc17f57691c8e2e2446c4126fb4133d07d21 (diff)
downloadopenssl-new-b379fe6cd046b9dd8a62309dcbaded763e2d4187.tar.gz
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 'include/openssl/buffer.h')
-rw-r--r--include/openssl/buffer.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/openssl/buffer.h b/include/openssl/buffer.h
index 0eb90bbf52..6f243bac64 100644
--- a/include/openssl/buffer.h
+++ b/include/openssl/buffer.h
@@ -22,10 +22,7 @@ extern "C" {
#endif
# include <stddef.h>
-
-# if !defined(NO_SYS_TYPES_H)
-# include <sys/types.h>
-# endif
+# include <sys/types.h>
/*
* These names are outdated as of OpenSSL 1.1; a future release