diff --git a/include/rpcdce.h b/include/rpcdce.h
index c684244d8b..66df3eaa8b 100644
--- a/include/rpcdce.h
+++ b/include/rpcdce.h
@@ -19,6 +19,10 @@
 #ifndef __WINE_RPCDCE_H
 #define __WINE_RPCDCE_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #ifndef IN
 #define IN
 #endif
@@ -312,6 +316,10 @@ RPCRTAPI unsigned short RPC_ENTRY
 RPCRTAPI int RPC_ENTRY
   UuidIsNil( UUID* Uuid, RPC_STATUS* Status_ );
 
+#ifdef __cplusplus
+}
+#endif
+
 #include <rpcdcep.h>
 
 #endif /*__WINE_RPCDCE_H */