* extract.pl.in: Use SNMP_INCLUDES to avoid warnings if compiling with
snmp support.
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index ef8c34f..444fc9a 100755
--- a/vtysh/extract.pl.in
+++ b/vtysh/extract.pl.in
@@ -61,7 +61,7 @@
foreach (@ARGV) {
$file = $_;
- open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib $file |");
+ open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib @SNMP_INCLUDES@ $file |");
local $/; undef $/;
$line = <FH>;
close (FH);