1481a5ccdes#ifdef HAVE_CONFIG_H
2481a5ccdes#include <ldns/config.h>
3481a5ccdes#endif
4481a5ccdes
5481a5ccdes#ifdef HAVE_TIME_H
6481a5ccdes#include <time.h>
7481a5ccdes#endif
8481a5ccdes
9481a5ccdesstruct tm *localtime_r(const time_t *timep, struct tm *result)
10481a5ccdes{
11481a5ccdes	/* no thread safety. */
12481a5ccdes	*result = *localtime(timep);
13481a5ccdes	return result;
14481a5ccdes}
15