diff --git a/build/win32/vs10/gdk.vcxprojin b/build/win32/vs10/gdk.vcxprojin
index 11f47c4fa0..4eb739b9cf 100644
--- a/build/win32/vs10/gdk.vcxprojin
+++ b/build/win32/vs10/gdk.vcxprojin
@@ -86,7 +86,7 @@
EditAndContinue
- imm32.lib;%(AdditionalDependencies)
+ imm32.lib;winmm.lib;%(AdditionalDependencies)
$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll
$(IntDir)gdk.def
true
@@ -106,7 +106,7 @@
ProgramDatabase
- imm32.lib;%(AdditionalDependencies)
+ imm32.lib;winmm.lib;%(AdditionalDependencies)
$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll
$(IntDir)gdk.def
true
@@ -131,7 +131,7 @@
ProgramDatabase
- imm32.lib;%(AdditionalDependencies)
+ imm32.lib;winmm.lib;%(AdditionalDependencies)
$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll
$(IntDir)gdk.def
true
@@ -151,7 +151,7 @@
ProgramDatabase
- imm32.lib;%(AdditionalDependencies)
+ imm32.lib;winmm.lib;%(AdditionalDependencies)
$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll
$(IntDir)gdk.def
true
diff --git a/build/win32/vs9/gdk.vcprojin b/build/win32/vs9/gdk.vcprojin
index e41cd7c20f..dffea3c3dc 100644
--- a/build/win32/vs9/gdk.vcprojin
+++ b/build/win32/vs9/gdk.vcprojin
@@ -42,7 +42,7 @@
/>