mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-14 12:29:19 +02:00
Merge pull request #86 from spmzt/tzsetwall-freebsd
Build Issue on FreeBSD: tzsetwall() is deprecated, use tzset() instead.
This commit is contained in:
commit
8b78300e99
|
@ -2754,7 +2754,7 @@ main(int argc, char **argv)
|
||||||
do_pidfile(pidfile);
|
do_pidfile(pidfile);
|
||||||
|
|
||||||
#ifdef FREEBSD
|
#ifdef FREEBSD
|
||||||
tzsetwall();
|
tzset();
|
||||||
#endif
|
#endif
|
||||||
#ifndef WINDOWS32
|
#ifndef WINDOWS32
|
||||||
openlog(__progname, LOG_NDELAY, LOG_DAEMON);
|
openlog(__progname, LOG_NDELAY, LOG_DAEMON);
|
||||||
|
|
Loading…
Reference in New Issue