--- a/include/data.h Mon Aug 06 17:59:06 2007 +0200
+++ b/include/data.h Tue Aug 07 17:18:03 2007 +0200
@@ -20,10 +20,13 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-
#ifndef __data_h__
#define __data_h__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* declaration of CO_Data type let us include all necessary headers
struct struct_CO_Data can then be defined later
*/
@@ -174,6 +177,10 @@
1 /*dcf_count_targets*/\
}
+#ifdef __cplusplus
+};
+#endif
+
#endif /* __data_h__ */