diff options
author | Richard Levitte <levitte@openssl.org> | 2017-08-25 14:51:45 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-08-25 15:50:59 +0200 |
commit | b379fe6cd046b9dd8a62309dcbaded763e2d4187 (patch) | |
tree | a0f8b0f33d944f090743334a063562791b320d34 /include | |
parent | 0a8ddc17f57691c8e2e2446c4126fb4133d07d21 (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 'include')
-rw-r--r-- | include/openssl/buffer.h | 5 | ||||
-rw-r--r-- | include/openssl/seed.h | 4 |
2 files changed, 2 insertions, 7 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 diff --git a/include/openssl/seed.h b/include/openssl/seed.h index bb97131d76..de10b08572 100644 --- a/include/openssl/seed.h +++ b/include/openssl/seed.h @@ -52,9 +52,7 @@ extern "C" { # endif # endif -# if !defined(NO_SYS_TYPES_H) -# include <sys/types.h> -# endif +# include <sys/types.h> # define SEED_BLOCK_SIZE 16 # define SEED_KEY_LENGTH 16 |