OpenBSD fixes for dtcm. There are no global "timezone" and "tzname" symbols on BSD. Apart from that, mainly #ifdefs.

This commit is contained in:
Pascal Stumpf
2012-08-10 14:44:57 +02:00
committed by Jon Trulson
parent 3718075b7c
commit 57463ec10e
10 changed files with 34 additions and 1 deletions

View File

@@ -702,7 +702,8 @@ main(int argc, char **argv)
if (udp_transp == (SVCXPRT *)-1) {
udp_transp = svcudp_create(standalone ? RPC_ANYSOCK : 0
#if defined(_AIX) || defined(hpV4) || defined(__osf__) || defined(linux)
#if defined(_AIX) || defined(hpV4) || defined(__osf__) || defined(linux) || \
defined(CSRG_BASED)
);
#else
,0,0);