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/constraints.h b/skeletons/constraints.h
index d8434e4..51fad8e 100644
--- a/skeletons/constraints.h
+++ b/skeletons/constraints.h
@@ -7,6 +7,10 @@
 
 #include <asn_system.h>		/* Platform-dependent types */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct asn_TYPE_descriptor_s;		/* Forward declaration */
 
 /*
@@ -51,4 +55,8 @@
 void _asn_i_log_error(asn_app_consume_bytes_f *, void *key,
 	const char *fmt, ...) __attribute__ ((format(printf, 3, 4)));
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif	/* _ASN1_CONSTRAINTS_VALIDATOR_H_ */