diff options
Diffstat (limited to 'Libraries/LibCore/GetPassword.h')
-rw-r--r-- | Libraries/LibCore/GetPassword.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibCore/GetPassword.h b/Libraries/LibCore/GetPassword.h index b0993c56f3..c62a071935 100644 --- a/Libraries/LibCore/GetPassword.h +++ b/Libraries/LibCore/GetPassword.h @@ -26,11 +26,12 @@ #pragma once +#include <AK/OSError.h> #include <AK/Result.h> #include <AK/String.h> namespace Core { -Result<String, int> get_password(const StringView& prompt = "Password: "); +Result<String, OSError> get_password(const StringView& prompt = "Password: "); } |