diff options
author | François Andriot <albator78@libertysurf.fr> | 2024-02-08 09:09:17 +0100 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-08 23:06:20 +0900 |
commit | 9d52e5c05d291d7f206910932eeaee81b14900a2 (patch) | |
tree | 1d18dac91524413980d5854b2883db376d545aad | |
parent | 5cfeb8ecb0dfda3c2eae239a3b4d19189ce244ab (diff) | |
download | sip4-tqt-9d52e5c05d291d7f206910932eeaee81b14900a2.tar.gz sip4-tqt-9d52e5c05d291d7f206910932eeaee81b14900a2.zip |
Fix yyerror ftbfs under Fedora 40
Signed-off-by: François Andriot <albator78@libertysurf.fr>
(cherry picked from commit 29c31825fb3e7507c2dd8f8622f671e4d7542036)
-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 |