$NetBSD: patch-ac,v 1.5 2004/11/30 16:44:47 adam Exp $

--- src/ptlib/common/getdate.y.orig	2006-07-06 10:50:48.000000000 +0930
+++ src/ptlib/common/getdate.y	2007-09-01 13:44:11.000000000 +0930
@@ -16,6 +16,7 @@
 /* SUPPRESS 288 on yyerrlab *//* Label unused */
 
 
+#include <stdio.h>
 #include <time.h>
 #include <string.h>
 #include <ctype.h>
@@ -105,7 +106,7 @@
 #define VARIABLE ((struct Variables*)parseParam)
 
 
-#define YYPURE		1
+#define YYPURE		0
 #define YYLEX_PARAM	VARIABLE->yyInput
 #define YYPARSE_PARAM	parseParam
 
