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/xer_support.h b/skeletons/xer_support.h
index e25678c..8b01944 100644
--- a/skeletons/xer_support.h
+++ b/skeletons/xer_support.h
@@ -8,6 +8,10 @@
 
 #include <asn_system.h>		/* Platform-specific types */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * Types of data transferred to the application.
  */
@@ -44,4 +48,8 @@
 ssize_t pxml_parse(int *_stateContext, const void *_buf, size_t _size,
 	pxml_callback_f *cb, void *_key);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif	/* _XER_SUPPORT_H_ */