win-mac.h additions for windows build
authorSam Hartman <hartmans@mit.edu>
Wed, 28 Sep 2011 20:54:11 +0000 (20:54 +0000)
committerSam Hartman <hartmans@mit.edu>
Wed, 28 Sep 2011 20:54:11 +0000 (20:54 +0000)
windows implementation of k5_get_os_entropy()

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
Signed-off-by: Sam Hartman <hartmans@debian.org>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25242 dc483132-0cff-0310-8789-dd5450dbe970

src/include/win-mac.h

index 473ab373eabd2894c6ecde6021540ec34ca47044..82d3ff736d1df0100782f9349066fd242a6bce2b 100644 (file)
@@ -13,7 +13,6 @@
 #define _KRB5_WIN_MAC_H
 
 #ifdef _WIN32
-
 #define ID_READ_PWD_DIALOG  10000
 #define ID_READ_PWD_PROMPT  10001
 #define ID_READ_PWD_PROMPT2 10002
@@ -188,6 +187,7 @@ typedef _W64 int         ssize_t;
 #include <fcntl.h>
 #include <io.h>
 #include <process.h>
+#include <wincrypt.h>
 
 #ifdef NEED_SYSERROR
 /* Only needed by util/et/error_message.c but let's keep the source clean */