BIT STRING now stores the number of unused octets in a separate field.

diff --git a/skeletons/BIT_STRING.h b/skeletons/BIT_STRING.h
index 665d036..1601231 100644
--- a/skeletons/BIT_STRING.h
+++ b/skeletons/BIT_STRING.h
@@ -5,9 +5,16 @@
 #ifndef	_BIT_STRING_H_
 #define	_BIT_STRING_H_
 
-#include <OCTET_STRING.h>
+#include <OCTET_STRING.h>	/* Some help from OCTET STRING */
 
-typedef OCTET_STRING_t BIT_STRING_t; /* Implemented via OCTET STRING */
+typedef struct BIT_STRING_s {
+	uint8_t *buf;	/* BIT STRING body */
+	int size;	/* Size of the above buffer */
+
+	int bits_unused;/* Unused trailing bits in the last octet (0..7) */
+
+	asn_struct_ctx_t _asn_ctx;	/* Parsing across buffer boundaries */
+} BIT_STRING_t;
 
 extern asn_TYPE_descriptor_t asn_DEF_BIT_STRING;