]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix macro redefinition warnings in cc_mslsa.c
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Fri, 13 Jul 2012 14:20:10 +0000 (10:20 -0400)
committerSam Hartman <hartmans@mit.edu>
Mon, 16 Jul 2012 13:32:52 +0000 (09:32 -0400)
Include ntstatus.h and define WIN32_NO_STATUS before including winnt.h

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7213

src/lib/krb5/ccache/cc_mslsa.c

index 9c4ec50e83644659be3c37042e53db9c1fd6ab75..e1a2f70e3817177b24cd71d6966e11fb5b667365 100644 (file)
@@ -53,6 +53,8 @@
 #define UNICODE
 #define _UNICODE
 
+#include <ntstatus.h>
+#define WIN32_NO_STATUS
 #include "k5-int.h"
 #include "com_err.h"
 #include "cc-int.h"
@@ -70,7 +72,6 @@
 #endif
 #define _WIN32_WINNT 0x0600
 #include <ntsecapi.h>
-#include <ntstatus.h>
 
 
 /* The following two features can only be built using the version of the