diff --git a/crypto/ui/ui.h b/crypto/ui/ui.h index f7c3054d8c..59da88ea02 100644 --- a/crypto/ui/ui.h +++ b/crypto/ui/ui.h @@ -59,7 +59,9 @@ #ifndef HEADER_UI_H #define HEADER_UI_H +#ifndef OPENSSL_NO_DEPRECATED #include +#endif #include #include diff --git a/crypto/ui/ui_locl.h b/crypto/ui/ui_locl.h index 7d3a75a619..68cc543402 100644 --- a/crypto/ui/ui_locl.h +++ b/crypto/ui/ui_locl.h @@ -60,6 +60,7 @@ #define HEADER_UI_LOCL_H #include +#include struct ui_method_st { diff --git a/crypto/ui/ui_util.c b/crypto/ui/ui_util.c index 46bc8c1a9a..5d9760bb7b 100644 --- a/crypto/ui/ui_util.c +++ b/crypto/ui/ui_util.c @@ -54,7 +54,7 @@ */ #include -#include +#include "ui_locl.h" int UI_UTIL_read_pw_string(char *buf,int length,const char *prompt,int verify) {