summaryrefslogtreecommitdiff
path: root/x2p
diff options
context:
space:
mode:
Diffstat (limited to 'x2p')
-rw-r--r--x2p/a2p.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/x2p/a2p.c b/x2p/a2p.c
index 1098b1e686..9d1d1725cb 100644
--- a/x2p/a2p.c
+++ b/x2p/a2p.c
@@ -2179,13 +2179,17 @@ int yyparse (void);
#define YYREJECT goto yyabort
#define YYACCEPT goto yyaccept
#define YYERROR goto yyerrlab
+
+#if YYDEBUG
+EXTERN_C char *getenv(const char *);
+#endif
+
int
yyparse(void)
{
register int yym, yyn, yystate;
#if YYDEBUG
register char *yys;
- extern char *getenv();
if ((yys = getenv("YYDEBUG")))
{