summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-03-03 09:55:51 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-08 20:02:49 +0200
commit988225dde133b7e0f16c60323430f0de6b3241c2 (patch)
treed2e0916930684f3a5aa3c41e70360e6f180bd303 /vtysh
parentvtysh: drop unused variables & RETSIGTYPE (diff)
downloadfrr-988225dde133b7e0f16c60323430f0de6b3241c2.tar.xz
frr-988225dde133b7e0f16c60323430f0de6b3241c2.zip
build: determine CFLAGS more intelligently
Instead of hardcoding some compiler detection, this just checks which CFLAGS actually work with the compiler specified by the user. Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit 3a7e83c2387885075c9ecf1912dd6c9399c6947a)
Diffstat (limited to 'vtysh')
-rwxr-xr-xvtysh/extract.pl.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index 7f9a2514c..0043c745f 100755
--- a/vtysh/extract.pl.in
+++ b/vtysh/extract.pl.in
@@ -25,7 +25,10 @@
print <<EOF;
#include <zebra.h>
+
#include "command.h"
+#include "linklist.h"
+
#include "vtysh.h"
EOF