*** rfc2822date.c.orig	2006-03-30 19:59:07.000000000 +0200
--- rfc2822date.c	2006-03-30 20:14:34.000000000 +0200
***************
*** 27,42 ****
  #include <stdio.h>
  #include <sys/types.h>
  
  #include <missing.h> /* declarations for missing library functions */
  
- #if TM_IN_SYS_TIME
- # include <sys/time.h>
- # if TIME_WITH_SYS_TIME
- #  include <time.h>
- # endif
- #else
- # include <time.h>
- #endif
  
  #include "rfc2822date.h"
  
--- 27,39 ----
  #include <stdio.h>
  #include <sys/types.h>
  
+ #include <sys/time.h>
+ #include <time.h>
+ 
+ struct tm *localtime_r(const time_t *, struct tm *);
+ 
  #include <missing.h> /* declarations for missing library functions */
  
  
  #include "rfc2822date.h"
  
