olsrd: fix compile error on some systems (e.g. Mac OS X "Snow Leopard")
authorFelix Fietkau <nbd@openwrt.org>
Sun, 20 Sep 2009 12:32:33 +0000 (12:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 20 Sep 2009 12:32:33 +0000 (12:32 +0000)
SVN-Revision: 17636

net/olsrd/patches/160-compile_fix.patch [new file with mode: 0644]

diff --git a/net/olsrd/patches/160-compile_fix.patch b/net/olsrd/patches/160-compile_fix.patch
new file mode 100644 (file)
index 0000000..fb534f6
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/src/cfgparser/oscan.lex
++++ b/src/cfgparser/oscan.lex
+@@ -59,7 +59,6 @@
+ int yyget_lineno(void);
+ FILE * yyget_in(void);
+ FILE* yyget_out(void);
+-int yyget_leng(void);
+ char *yyget_text(void);
+ void yyset_lineno(int);
+ void yyset_in(FILE *);