summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorKevin Wasserman <kevin.wasserman@painless-security.com>2012-07-13 10:20:10 -0400
committerSam Hartman <hartmans@mit.edu>2012-07-16 09:32:52 -0400
commitee6fbe222b34b28c617d4e6df994700af471b1b6 (patch)
treeaefb21b5e1c734d19d66426f02f0a5f38a89a44a /src/lib
parent218193bb93d8cf9fd82087533c45602b6a8c5151 (diff)
downloadkrb5-ee6fbe222b34b28c617d4e6df994700af471b1b6.tar.gz
krb5-ee6fbe222b34b28c617d4e6df994700af471b1b6.tar.xz
krb5-ee6fbe222b34b28c617d4e6df994700af471b1b6.zip
Fix macro redefinition warnings in cc_mslsa.c
Include ntstatus.h and define WIN32_NO_STATUS before including winnt.h Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com> ticket: 7213
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/ccache/cc_mslsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/krb5/ccache/cc_mslsa.c b/src/lib/krb5/ccache/cc_mslsa.c
index 9c4ec50e83..e1a2f70e38 100644
--- a/src/lib/krb5/ccache/cc_mslsa.c
+++ b/src/lib/krb5/ccache/cc_mslsa.c
@@ -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