summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/bin/named/unix/os.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bind/bin/named/unix/os.c')
-rw-r--r--usr.sbin/bind/bin/named/unix/os.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/bind/bin/named/unix/os.c b/usr.sbin/bind/bin/named/unix/os.c
index 4512c0666e1..1235406d713 100644
--- a/usr.sbin/bind/bin/named/unix/os.c
+++ b/usr.sbin/bind/bin/named/unix/os.c
@@ -537,3 +537,10 @@ ns_os_shutdown(void) {
closelog();
cleanup_pidfile();
}
+
+void
+ns_os_tzset(void) {
+#ifdef HAVE_TZSET
+ tzset();
+#endif
+}