diff --git a/bcrypt.cabal b/bcrypt.cabal
--- a/bcrypt.cabal
+++ b/bcrypt.cabal
@@ -1,5 +1,5 @@
 Name: bcrypt
-Version: 0.0.9
+Version: 0.0.10
 Cabal-Version: >= 1.6
 Build-Type: Simple
 License: BSD3
diff --git a/csrc/crypt_blowfish_wrapper.c b/csrc/crypt_blowfish_wrapper.c
--- a/csrc/crypt_blowfish_wrapper.c
+++ b/csrc/crypt_blowfish_wrapper.c
@@ -37,6 +37,10 @@
 #define CRYPT_OUTPUT_SIZE		(7 + 22 + 31 + 1)
 #define CRYPT_GENSALT_OUTPUT_SIZE	(7 + 22 + 1)
 
+#if defined(_WIN64) && _WIN64
+#define strdup _strdup
+#endif
+
 #if defined(__GLIBC__) && defined(_LIBC)
 #define __SKIP_GNU
 #endif
