summaryrefslogtreecommitdiff
path: root/ftp/ftptool/files/lex.c
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-07-23 18:11:10 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-07-23 18:11:10 +0000
commit73dd8639068ae7493e9026c2411e13ff30ed6720 (patch)
tree14257bbba227021f3dec21117dce2b6923ba9339 /ftp/ftptool/files/lex.c
parentInstall shared library. (diff)
Assign MAINTAINER to Serge Gagnon <gagnon__s@videotron.ca>
fix lex.c add a missed dependency PR: ports/50967 Submitted by: Serge Gagnon <gagnon__s@videotron.ca>
Diffstat (limited to 'ftp/ftptool/files/lex.c')
-rw-r--r--ftp/ftptool/files/lex.c5
1 files changed, 3 insertions, 2 deletions
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 <stdio.h>
+# include <unistd.h>
# 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;