diff --git a/winpr/include/winpr/nt.h b/winpr/include/winpr/nt.h index 4875aff7b..d89c19f01 100644 --- a/winpr/include/winpr/nt.h +++ b/winpr/include/winpr/nt.h @@ -38,6 +38,9 @@ #define STATUS_ACCOUNT_LOCKED_OUT ((NTSTATUS)0xC0000234L) #define STATUS_ACCOUNT_EXPIRED ((NTSTATUS)0xC0000193L) #define STATUS_LOGON_TYPE_NOT_GRANTED ((NTSTATUS)0xC000015BL) + +#else +#include #endif #endif /* WINPR_NT_H */ diff --git a/winpr/libwinpr/sspi/sspi.c b/winpr/libwinpr/sspi/sspi.c index bd46dc943..2dca6bed9 100644 --- a/winpr/libwinpr/sspi/sspi.c +++ b/winpr/libwinpr/sspi/sspi.c @@ -1171,6 +1171,8 @@ SecurityFunctionTableW SSPI_SecurityFunctionTableW = SetContextAttributes, /* SetContextAttributes */ }; +#endif + const char* GetSecurityStatusString(SECURITY_STATUS status) { switch (status) @@ -1430,5 +1432,3 @@ const char* GetSecurityStatusString(SECURITY_STATUS status) return "SEC_E_UNKNOWN"; } - -#endif