include: Added prototype for DllMain.
diff --git a/include/winbase.h b/include/winbase.h
index 9ea16d8..f802f35 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -2344,6 +2344,11 @@
 /* If this is not declared, we cannot compile many sources written with C++. */
 int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int);
 
+#ifdef __WINESRC__
+/* shouldn't be here, but is nice for type checking */
+BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) DECLSPEC_HIDDEN;
+#endif
+
 #ifdef __cplusplus
 }
 #endif