aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/jafm/files/patch-ac
blob: fdd0b05927a625e881cf533caaa0e562e23addd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- zicon.y.orig    Wed Sep 24 00:09:52 1997
+++ zicon.y Sat Feb 26 19:51:35 2000
@@ -3,6 +3,7 @@
 /* we pass a pointer to the painter into the  */
 #define YYPARSE_PARAM p
 
+#include <stdlib.h>
 #include "icon.hh"
 
 #define PROGRAM    ((IconProgram *)p)
@@ -13,6 +14,10 @@
 int bufAlloc = 160 ;
 short int *buffer = new short int[bufAlloc] ;
 
+extern int yyerror(char *);
+extern "C" {
+   extern int yylex(void);
+};
 
 %}