diff options
author | François Andriot <[email protected]> | 2024-02-08 09:09:17 +0100 |
---|---|---|
committer | François Andriot <[email protected]> | 2024-02-08 11:51:42 +0100 |
commit | 29c31825fb3e7507c2dd8f8622f671e4d7542036 (patch) | |
tree | 1d18dac91524413980d5854b2883db376d545aad /sipgen | |
parent | 746782ba8bfbc2ddc7d062f471c42d165f8b8a44 (diff) | |
download | sip4-tqt-29c31825fb3e7507c2dd8f8622f671e4d7542036.tar.gz sip4-tqt-29c31825fb3e7507c2dd8f8622f671e4d7542036.zip |
Fix yyerror ftbfs under Fedora 40
Signed-off-by: François Andriot <[email protected]>
Diffstat (limited to 'sipgen')
-rw-r--r-- | sipgen/lexer.l | 1 | ||||
-rw-r--r-- | sipgen/parser.y | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sipgen/lexer.l b/sipgen/lexer.l index c6c3f63..b27902b 100644 --- a/sipgen/lexer.l +++ b/sipgen/lexer.l @@ -21,6 +21,7 @@ #include <stdlib.h> #include <string.h> #include <errno.h> +#include <unistd.h> #include "sip.h" #include "parser.h" diff --git a/sipgen/parser.y b/sipgen/parser.y index 7670cab..2ed1b4e 100644 --- a/sipgen/parser.y +++ b/sipgen/parser.y @@ -23,6 +23,7 @@ #include "sip.h" +void yyerror(char* s); #define MAX_NESTED_IF 10 #define MAX_NESTED_SCOPE 10 |