From 5b0ca1585a6be1e9d653ee29d5bd19ea0ffa2466 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Tue, 19 Sep 2000 17:53:09 +0000 Subject: Fix a few build bugs, still no go --- ext/standard/url_scanner_ex.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'ext/standard/url_scanner_ex.c') diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c index 8ae8a4d217..ebf82926da 100644 --- a/ext/standard/url_scanner_ex.c +++ b/ext/standard/url_scanner_ex.c @@ -22,7 +22,10 @@ #ifdef TRANS_SID +#ifdef HAVE_UNISTD_H #include +#endif + #include #include #include @@ -107,7 +110,7 @@ static char *check_tag_arg[] = { NULL }; -static inline void tag_arg(url_adapt_state_t *ctx PLS_CC) +static inline void tag_arg(url_adapt_state_t *ctx PLS_DC) { char f = 0; int i; @@ -585,7 +588,7 @@ yy45: #ifdef DEBUG printf("PARA(%s)\n", ctx->para.c); #endif - tag_arg(ctx PLS_DC); + tag_arg(ctx PLS_CC); arg_start = YYCURSOR; GO(STATE_NEXT_ARG); NEXT; @@ -626,7 +629,7 @@ yy54: #ifdef DEBUG printf("PARA(%s)\n", ctx->para.c); #endif - tag_arg(ctx PLS_DC); + tag_arg(ctx PLS_CC); arg_start = YYCURSOR; GO(STATE_NEXT_ARG); NEXT; -- cgit v1.2.1