Because there's chances we clash with the system's types.h, rename our types.h to ossl_typ.h.
diff --git a/apps/apps.h b/apps/apps.h index 57ca765..07ddd4c 100644 --- a/apps/apps.h +++ b/apps/apps.h
@@ -68,7 +68,7 @@ #include <openssl/lhash.h> #include <openssl/conf.h> #include <openssl/txt_db.h> -#include <openssl/types.h> +#include <openssl/ossl_typ.h> int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn); int app_RAND_write_file(const char *file, BIO *bio_e);
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h index 279020b..363070b 100644 --- a/crypto/asn1/asn1.h +++ b/crypto/asn1/asn1.h
@@ -71,7 +71,7 @@ #include <openssl/symhacks.h> #include <openssl/e_os2.h> -#include <openssl/types.h> +#include <openssl/ossl_typ.h> #ifdef OPENSSL_BUILD_SHLIBCRYPTO # undef OPENSSL_EXTERN
diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h index 65d61e2..e9cb99d 100644 --- a/crypto/dh/dh.h +++ b/crypto/dh/dh.h
@@ -68,7 +68,7 @@ #endif #include <openssl/bn.h> #include <openssl/crypto.h> -#include <openssl/types.h> +#include <openssl/ossl_typ.h> #define DH_FLAG_CACHE_MONT_P 0x01
diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h index 9692a0b..dcdd28f 100644 --- a/crypto/dsa/dsa.h +++ b/crypto/dsa/dsa.h
@@ -74,7 +74,7 @@ #endif #include <openssl/bn.h> #include <openssl/crypto.h> -#include <openssl/types.h> +#include <openssl/ossl_typ.h> #ifndef OPENSSL_NO_DH # include <openssl/dh.h> #endif
diff --git a/crypto/engine/engine.h b/crypto/engine/engine.h index 51c108e..782d85a 100644 --- a/crypto/engine/engine.h +++ b/crypto/engine/engine.h
@@ -59,7 +59,7 @@ #ifndef HEADER_ENGINE_H #define HEADER_ENGINE_H -#include <openssl/types.h> +#include <openssl/ossl_typ.h> #include <openssl/bn.h> #ifndef OPENSSL_NO_RSA #include <openssl/rsa.h> @@ -74,7 +74,6 @@ #include <openssl/ui.h> #include <openssl/symhacks.h> #include <openssl/err.h> -#include <openssl/types.h> #ifdef __cplusplus extern "C" {
diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index 494fa0c..5022d93 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h
@@ -67,7 +67,7 @@ # undef OPENSSL_ALGORITHM_DEFINES #endif -#include <openssl/types.h> +#include <openssl/ossl_typ.h> #ifndef OPENSSL_NO_BIO #include <openssl/bio.h>
diff --git a/crypto/types.h b/crypto/ossl_typ.h similarity index 100% rename from crypto/types.h rename to crypto/ossl_typ.h
diff --git a/crypto/pkcs7/pkcs7.h b/crypto/pkcs7/pkcs7.h index 1dda0c5..946596c 100644 --- a/crypto/pkcs7/pkcs7.h +++ b/crypto/pkcs7/pkcs7.h
@@ -64,7 +64,7 @@ #include <openssl/e_os2.h> #include <openssl/symhacks.h> -#include <openssl/types.h> +#include <openssl/ossl_typ.h> #ifdef __cplusplus extern "C" {
diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h index 30e39c3..e17aa7a 100644 --- a/crypto/rand/rand.h +++ b/crypto/rand/rand.h
@@ -60,7 +60,7 @@ #define HEADER_RAND_H #include <stdlib.h> -#include <openssl/types.h> +#include <openssl/ossl_typ.h> #ifdef __cplusplus extern "C" {
diff --git a/crypto/rsa/rsa.h b/crypto/rsa/rsa.h index 459dba0..47d12c9 100644 --- a/crypto/rsa/rsa.h +++ b/crypto/rsa/rsa.h
@@ -66,7 +66,7 @@ #endif #include <openssl/bn.h> #include <openssl/crypto.h> -#include <openssl/types.h> +#include <openssl/ossl_typ.h> #ifdef OPENSSL_NO_RSA #error RSA is disabled.
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index f1040ac..9a4b0db 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h
@@ -89,7 +89,7 @@ #endif #include <openssl/evp.h> #include <openssl/e_os2.h> -#include <openssl/types.h> +#include <openssl/ossl_typ.h> #ifdef __cplusplus extern "C" {