$NetBSD: patch-ai,v 1.1 2002/02/08 06:29:44 jlam Exp $

--- src/ptlib/common/getdate.y.orig	Sun Jul 11 22:37:23 1999
+++ src/ptlib/common/getdate.y
@@ -18,6 +18,7 @@
 /* SUPPRESS 288 on yyerrlab *//* Label unused */
 
 
+#include <stdio.h>
 #include <time.h>
 #include <string.h>
 #include <ctype.h>
@@ -99,7 +100,7 @@
 #define VARIABLE ((struct Variables*)parseParam)
 
 
-#define YYPURE
+#define YYPURE		0
 #define YYLEX_PARAM	VARIABLE->yyInput
 #define YYPARSE_PARAM	parseParam
 
