summaryrefslogtreecommitdiff
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 a99acdc8..c6e9a0ea 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 534b332f..ce844ba5 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"