extern "C" used in skeletons


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@943 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/RELATIVE-OID.h b/skeletons/RELATIVE-OID.h
index 2b7f13d..2235cfd 100644
--- a/skeletons/RELATIVE-OID.h
+++ b/skeletons/RELATIVE-OID.h
@@ -7,6 +7,10 @@
 
 #include <OBJECT_IDENTIFIER.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Implemented via OBJECT IDENTIFIER */
 typedef OBJECT_IDENTIFIER_t RELATIVE_OID_t;
 
@@ -28,4 +32,8 @@
 int RELATIVE_OID_set_arcs(RELATIVE_OID_t *_roid,
 	void *arcs, unsigned int arc_type_size, unsigned int arcs_slots);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif	/* _RELATIVE_OID_H_ */