From 73dd8639068ae7493e9026c2411e13ff30ed6720 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Wed, 23 Jul 2003 18:11:10 +0000 Subject: Assign MAINTAINER to Serge Gagnon fix lex.c add a missed dependency PR: ports/50967 Submitted by: Serge Gagnon --- ftp/ftptool/files/lex.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ftp/ftptool/files/lex.c') diff --git a/ftp/ftptool/files/lex.c b/ftp/ftptool/files/lex.c index 86c1126b57a6..76dfd4ba0912 100644 --- a/ftp/ftptool/files/lex.c +++ b/ftp/ftptool/files/lex.c @@ -1,4 +1,5 @@ -# include "stdio.h" +# include +# include # define U(x) x # define NLSTATE yyprevious=YYNEWLINE # define BEGIN yybgin = yysvec + 1 + @@ -17,7 +18,7 @@ int yyleng; extern char yytext[]; int yymorfg; extern char *yysptr, yysbuf[]; int yytchar; -FILE *yyin = {stdin}, *yyout = {stdout}; +FILE *yyin = STDIN_FILENO, *yyout = STDOUT_FILENO; extern int yylineno; struct yysvf { struct yywork *yystoff; -- cgit v1.2.3