Changes by: antona
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3389/ntfsprogs
Modified Files:
decrypt.c
Log Message:
Fix compilation under Cygwin (and make sure it still works on Linux).
Index: decrypt.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/decrypt.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- decrypt.c 16 Jul 2005 07:00:57 -0000 1.2
+++ decrypt.c 18 Jul 2005 20:47:48 -0000 1.3
@@ -29,8 +29,6 @@
#include "decrypt.h"
-#include "types.h"
-
#ifdef __CYGWIN__
//#define USE_CRYPTOAPI_RSA 1
#define _WIN32_WINNT 0x501
@@ -84,6 +82,9 @@ static HMODULE hCrypt32 = INVALID_HANDLE
#endif /* defined(__CYGWIN__) */
+/* This must be after windows.h include. */
+#include "types.h"
+
typedef struct {
#ifdef __CYGWIN__
HCERTSTORE hSystemStore;
|