diff --git a/include/shlwapi.h b/include/shlwapi.h
index a79e5d82944c410be6e1eaebf5b4a1fad1f45f36..3e75d14da4780149083298b49c5000a90916b4f8 100644
--- a/include/shlwapi.h
+++ b/include/shlwapi.h
@@ -976,6 +976,11 @@ typedef struct _DllVersionInfo {
 
 typedef HRESULT (CALLBACK *DLLGETVERSIONPROC)(DLLVERSIONINFO *);
 
+#ifdef __WINESRC__
+/* shouldn't be here, but is nice for type checking */
+HRESULT WINAPI DllGetVersion(DLLVERSIONINFO *);
+#endif
+
 typedef struct _DLLVERSIONINFO2 {
     DLLVERSIONINFO info1;
     DWORD          dwFlags;    /* Reserved */