--- ./lib/getdate.y.00	2010-01-10 14:07:41.000000000 +0100
+++ ./lib/getdate.y	2010-01-10 14:07:56.000000000 +0100
@@ -27,6 +27,7 @@
 
 #include <stdio.h>
 #include <ctype.h>
+#include <time.h>
 
 #if HAVE_STDLIB_H
 # include <stdlib.h> /* for `free'; used by Bison 1.27 */
