1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/x11-fm/jafm/files/patch-ac

22 lines
423 B
Plaintext
Raw Normal View History

2000-02-27 14:42:55 +00:00
--- 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);
+};
%}