summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/cf-lex.l2
-rw-r--r--conf/confbase.Y2
2 files changed, 4 insertions, 0 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l
index a99acdc..c6e9a0e 100644
--- a/conf/cf-lex.l
+++ b/conf/cf-lex.l
@@ -31,6 +31,8 @@
#include <stdlib.h>
#include <stdarg.h>
+#define PARSER 1
+
#include "nest/bird.h"
#include "nest/route.h"
#include "nest/protocol.h"
diff --git a/conf/confbase.Y b/conf/confbase.Y
index 534b332..ce844ba 100644
--- a/conf/confbase.Y
+++ b/conf/confbase.Y
@@ -8,6 +8,8 @@
CF_HDR
+#define PARSER 1
+
#include "nest/bird.h"
#include "conf/conf.h"
#include "lib/resource.h"