Protect the prototypes in here from C++ name mangling...
diff --git a/include/wine/obj_base.h b/include/wine/obj_base.h
index e2445a4..16e895d 100644
--- a/include/wine/obj_base.h
+++ b/include/wine/obj_base.h
@@ -684,6 +684,10 @@
#define IMalloc_HeapMinimize(p) ICOM_CALL (HeapMinimize,p)
+#ifdef __cplusplus
+extern "C" {
+#endif
+
HRESULT WINAPI CoCreateStandardMalloc16(DWORD dwMemContext, LPMALLOC16* lpMalloc);
HRESULT WINAPI CoGetMalloc16(DWORD dwMemContext,LPMALLOC16* lpMalloc);
@@ -758,4 +762,8 @@
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ppv);
HRESULT WINAPI DllCanUnloadNow(void);
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif /* __WINE_WINE_OBJ_BASE_H */