diff --git a/lib/asn1/asn1parse.y b/lib/asn1/asn1parse.y index dad7f67a2..a7a8f3182 100644 --- a/lib/asn1/asn1parse.y +++ b/lib/asn1/asn1parse.y @@ -62,6 +62,10 @@ struct string_list { struct string_list *next; }; +/* Declarations for Bison */ +#define YYMALLOC malloc +#define YYFREE free + %} %union { diff --git a/lib/sl/slc-gram.y b/lib/sl/slc-gram.y index 0cba8fa3b..79f13684d 100644 --- a/lib/sl/slc-gram.y +++ b/lib/sl/slc-gram.y @@ -46,6 +46,12 @@ #include "slc.h" extern FILE *yyin; extern struct assignment *assignment; + +/* Declarations for Bison: + */ +#define YYMALLOC malloc +#define YYFREE free + %} %union {