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/ANY.h b/skeletons/ANY.h
index cabc411..c9b17db 100644
--- a/skeletons/ANY.h
+++ b/skeletons/ANY.h
@@ -7,6 +7,10 @@
#include <OCTET_STRING.h> /* Implemented via OCTET STRING type */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct ANY {
uint8_t *buf; /* BER-encoded ANY contents */
int size; /* Size of the above buffer */
@@ -36,4 +40,8 @@
#define ANY_fromBuf(s, buf, size) OCTET_STRING_fromBuf((s), (buf), (size))
#define ANY_new_fromBuf(buf, size) OCTET_STRING_new_fromBuf((buf), (size))
+#ifdef __cplusplus
+}
+#endif
+
#endif /* ASN_TYPE_ANY_H */