Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > 0f8e807e8f2b5ad98b2dbd9324fb272f > files > 2

libxt-1.0.2-3mdv2007.0.src.rpm

--- libXt-1.0.2/include/X11/VendorP.h.orig	2006-08-28 18:39:47.000000000 -0300
+++ libXt-1.0.2/include/X11/VendorP.h	2006-08-28 18:47:03.000000000 -0300
@@ -68,6 +68,10 @@
 #ifndef  _XtVendorPrivate_h
 #define _XtVendorPrivate_h
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <X11/Vendor.h>
 
 /* New fields for the VendorShell widget class record */
@@ -100,4 +104,8 @@
 	VendorShellPart	vendor;
 } VendorShellRec, *VendorShellWidget;
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif  /* _XtVendorPrivate_h */