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/REAL.h b/skeletons/REAL.h
index 114b7e5..28ccf28 100644
--- a/skeletons/REAL.h
+++ b/skeletons/REAL.h
@@ -8,6 +8,10 @@
 #include <asn_application.h>
 #include <asn_codecs_prim.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef ASN__PRIMITIVE_TYPE_t REAL_t;
 
 extern asn_TYPE_descriptor_t asn_DEF_REAL;
@@ -31,4 +35,8 @@
 int asn_REAL2double(const REAL_t *real_ptr, double *d);
 int asn_double2REAL(REAL_t *real_ptr, double d);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif	/* ASN_TYPE_REAL_H */