diff --git a/winpr/libwinpr/sspi/sspi_export.c b/winpr/libwinpr/sspi/sspi_export.c index 11c7744d8..ea4f69a2d 100644 --- a/winpr/libwinpr/sspi/sspi_export.c +++ b/winpr/libwinpr/sspi/sspi_export.c @@ -25,12 +25,15 @@ #define SEC_ENTRY __stdcall #define SSPI_EXPORT __declspec(dllexport) #else +#include #define SEC_ENTRY -#define SSPI_EXPORT +#define SSPI_EXPORT WINPR_API #endif +#ifdef _WIN32 typedef long LONG; typedef unsigned long ULONG; +#endif typedef LONG SECURITY_STATUS; /**