Because there's chances we clash with the system's types.h, rename our
[openssl.git] / apps / apps.h
index 634775d35d184f145cb04194711e9ae8d613c5a6..07ddd4c3ad75b8b483e6b321c747ac7c26017ef5 100644 (file)
@@ -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);
@@ -126,21 +126,19 @@ extern BIO *bio_err;
 #    ifdef _O_BINARY
 #      define apps_startup() \
                do { _fmode=_O_BINARY; do_pipe_sig(); CRYPTO_malloc_init(); \
-               ERR_load_crypto_strings(); \
-               OpenSSL_add_all_algorithms(); ENGINE_load_builtin_engines(); \
-                setup_ui_method(); } while(0)
+               ERR_load_crypto_strings(); OpenSSL_add_all_algorithms(); \
+               ENGINE_load_builtin_engines(); setup_ui_method(); } while(0)
 #    else
 #      define apps_startup() \
                do { _fmode=O_BINARY; do_pipe_sig(); CRYPTO_malloc_init(); \
-               ERR_load_crypto_strings(); \
-               OpenSSL_add_all_algorithms(); ENGINE_load_builtin_engines(); \
-                setup_ui_method(); } while(0)
+               ERR_load_crypto_strings(); OpenSSL_add_all_algorithms(); \
+               ENGINE_load_builtin_engines(); setup_ui_method(); } while(0)
 #    endif
 #  else
 #    define apps_startup() \
                do { do_pipe_sig(); OpenSSL_add_all_algorithms(); \
-               ERR_load_crypto_strings(); \
-               ENGINE_load_builtin_engines(); setup_ui_method(); } while(0)
+               ERR_load_crypto_strings(); ENGINE_load_builtin_engines(); \
+               setup_ui_method(); } while(0)
 #  endif
 #  define apps_shutdown() \
                do { destroy_ui_method(); EVP_cleanup(); \