structure comparison functions
diff --git a/libasn1compiler/asn1c_C.c b/libasn1compiler/asn1c_C.c
index 7b30eef..f5f94e9 100644
--- a/libasn1compiler/asn1c_C.c
+++ b/libasn1compiler/asn1c_C.c
@@ -2829,6 +2829,7 @@
 
 		FUNCREF2(free);
 		FUNCREF2(print);
+		FUNCREF2(compare);
 		if (arg->flags & A1C_NO_CONSTRAINTS)
 			OUT("0,\t/* No check because of -fno-constraints */\n");
 		else