extern "C" used in skeletons
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_ */