- Re-cloned zonemaster-ldns with --recurse-submodules so the bundled ldns C library source (including Changelog and configure.ac) is present - Added autoconf, automake, libtool to Dockerfile.backend ldns-build stage so libtoolize + autoreconf can generate ldns/configure during make Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
263 B
C
17 lines
263 B
C
#ifdef HAVE_CONFIG_H
|
|
#include <ldns/config.h>
|
|
#endif
|
|
|
|
#ifdef HAVE_TIME_H
|
|
#include <time.h>
|
|
#endif
|
|
|
|
char *asctime_r(const struct tm *tm, char *buf)
|
|
{
|
|
/* no thread safety. */
|
|
char* result = asctime(tm);
|
|
if(buf && result)
|
|
strcpy(buf, result);
|
|
return result;
|
|
}
|