diff --git a/js/src/prmjtime.c b/js/src/prmjtime.c index 158ae0a1aeb..62cccedaf26 100644 --- a/js/src/prmjtime.c +++ b/js/src/prmjtime.c @@ -279,7 +279,7 @@ PRMJ_DSTOffset(PRInt64 time) PRInt64 maxtimet; struct tm tm; PRMJTime prtm; -#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 ) || defined ( SNI ) || defined ( NETBSD ) || defined ( OPENBSD ) +#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 ) || defined ( SNI ) || defined ( NETBSD ) || defined ( OPENBSD ) || defined( RHAPSODY ) struct tm *ptm; #endif @@ -298,7 +298,7 @@ PRMJ_DSTOffset(PRInt64 time) } LL_L2UI(local,time); PRMJ_basetime(time,&prtm); -#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 ) || defined ( SNI ) || defined ( NETBSD ) || defined ( OPENBSD ) +#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 ) || defined ( SNI ) || defined ( NETBSD ) || defined ( OPENBSD ) || defined( RHAPSODY ) ptm = localtime(&local); if(!ptm){ return LL_ZERO;