summaryrefslogtreecommitdiff
path: root/src/mongo/platform
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2018-01-30 10:52:20 -0500
committerMark Benvenuto <mark.benvenuto@mongodb.com>2018-01-30 10:52:20 -0500
commitfd012d6b099e398e736be05af1b073da3c07a2b3 (patch)
tree543531ec9e99520f7c7c0366686d762193806569 /src/mongo/platform
parent596648d4f18c645d0a98c297490b1229026d4491 (diff)
downloadmongo-fd012d6b099e398e736be05af1b073da3c07a2b3.tar.gz
SERVER-32749 move sspi.h to windows_basic.h
Diffstat (limited to 'src/mongo/platform')
-rw-r--r--src/mongo/platform/windows_basic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/platform/windows_basic.h b/src/mongo/platform/windows_basic.h
index 710d47007c4..86e1396aefd 100644
--- a/src/mongo/platform/windows_basic.h
+++ b/src/mongo/platform/windows_basic.h
@@ -90,6 +90,11 @@
#include <winsock2.h> //this must be included before the first windows.h include
#include <ws2tcpip.h>
+// We must define SECURITY_WIN32 before include sspi.h
+#define SECURITY_WIN32
+
+#include <sspi.h>
+
#undef WIN32_NO_STATUS
// Obtain a definition for the ntstatus type.