summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sipgen/lexer.l1
-rw-r--r--sipgen/parser.y1
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