Reorganize includes to resolve winsock2 compilation warnings
[novacoin.git] / src / crypter.cpp
index 3a7f997..e808d06 100644 (file)
@@ -6,13 +6,14 @@
 #include <openssl/evp.h>
 #include <vector>
 #include <string>
-#ifdef WIN32
-#include <windows.h>
-#endif
 
 #include "crypter.h"
 #include "scrypt.h"
 
+#ifdef WIN32
+#include <windows.h>
+#endif
+
 bool CCrypter::SetKeyFromPassphrase(const SecureString& strKeyData, const std::vector<unsigned char>& chSalt, const unsigned int nRounds, const unsigned int nDerivationMethod)
 {
     if (nRounds < 1 || chSalt.size() != WALLET_CRYPTO_SALT_SIZE)