Compatibility fix with bison 2.6
Bison 2.6 now declares yyparse in the generated header. This fix ensure it still works for older versions. Reported in Debian#710614
This commit is contained in:
parent
71801fb3d2
commit
8b98c3746e
@ -122,7 +122,7 @@ static int add_server(bip_t *bip, struct server *s, list_t *data)
|
||||
#define ERRBUFSZ 128
|
||||
|
||||
extern list_t *root_list;
|
||||
int yyparse();
|
||||
extern int yyparse();
|
||||
|
||||
void conf_die(bip_t *bip, char *fmt, ...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user