diff --git a/include/commctrl.h b/include/commctrl.h
index 74e17efbb1b60bcd94e1de717f9d2ac378ee640b..2e6c31c1715a48164091b47d418e06747c5e65d7 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -8,6 +8,10 @@
 #include "windows.h"
 #include "imagelist.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 BOOL32 WINAPI ShowHideMenuCtl (HWND32, UINT32, LPINT32);
 VOID WINAPI GetEffectiveClientRect (HWND32, LPRECT32, LPINT32);
 VOID WINAPI InitCommonControls (VOID);
@@ -2484,5 +2488,8 @@ LRESULT WINAPI COMCTL32_SendNotify (HWND32, HWND32, UINT32, LPNMHDR);
 /* type and functionality of last parameter is still unknown */
 LRESULT WINAPI COMCTL32_SendNotifyEx (HWND32, HWND32, UINT32, LPNMHDR, DWORD);
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif  /* __WINE_COMMCTRL_H */
diff --git a/include/winbase.h b/include/winbase.h
index 47878fedb5ed72ead10ef582ca291ab34de80e3d..1f32748bd33f1359573f568567b6c0588a4bc958 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -3,6 +3,10 @@
 
 #include "windows.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define WAIT_FAILED		0xffffffff
 #define WAIT_OBJECT_0		0
 #define WAIT_ABANDONED		STATUS_ABANDONED_WAIT_0
@@ -195,4 +199,8 @@ void      WINAPI RaiseException(DWORD,DWORD,DWORD,const LPDWORD);
 BOOL32    WINAPI TerminateProcess(HANDLE32,DWORD);
 BOOL32    WINAPI TerminateThread(HANDLE32,DWORD);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif  /* __WINE_WINBASE_H */
diff --git a/include/wintypes.h b/include/wintypes.h
index be62f60aed9ef15deaa105aa8d9b4e49ec5b46cc..5b11c654dbe2e52a6ec0bbb5b8793dec2e6fa8bd 100644
--- a/include/wintypes.h
+++ b/include/wintypes.h
@@ -12,6 +12,10 @@
 # undef UNICODE
 #endif  /* __WINE__ */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Macros to map Winelib names to the correct implementation name */
 /* depending on __WINE__ and UNICODE macros.                      */
 /* Note that Winelib is purely Win32.                             */
@@ -378,4 +382,8 @@ DECL_WINELIB_TYPE(HWND)
 extern int __winelib;
 #endif  /* __WINE__ */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __WINE_WINTYPES_H */