summaryrefslogtreecommitdiffstats
path: root/lib/command_parse.y
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-06-14 10:26:07 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-06-14 15:46:36 +0200
commit92e5026146483d8483e79400967b73ddabe361bf (patch)
tree738ce7fc66dded3da6417c1006f91a23303582e3 /lib/command_parse.y
parentMerge branch 'stable/3.0' (diff)
downloadfrr-92e5026146483d8483e79400967b73ddabe361bf.tar.xz
frr-92e5026146483d8483e79400967b73ddabe361bf.zip
build: fix some cross-compilation issues
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command_parse.y')
-rw-r--r--lib/command_parse.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y
index 466e3d3f1..77e4e543a 100644
--- a/lib/command_parse.y
+++ b/lib/command_parse.y
@@ -44,6 +44,8 @@
* struct parser_ctx is needed for the bison forward decls.
*/
%code requires {
+ #include "config.h"
+
#include <stdlib.h>
#include <string.h>
#include <ctype.h>