diff --git a/cde/programs/dtcm/libDtCmP/Imakefile b/cde/programs/dtcm/libDtCmP/Imakefile index 600f339e1..9634284a4 100644 --- a/cde/programs/dtcm/libDtCmP/Imakefile +++ b/cde/programs/dtcm/libDtCmP/Imakefile @@ -17,6 +17,9 @@ DEFINES = -DRFC_MIME -DLINE_COUNT -DV2 -DOW_I18N \ -DREL="$(OSMAJORVERSION)$(OSMINORVERSION)" \ -DRELMAJOR="$(OSMAJORVERSION)" -DRELMINOR="$(OSMINORVERSION)" +#if defined(LinuxArchitecture) +EXTRA_INCLUDES = $(TIRPCINC) +#endif #ifdef SunArchitecture XCOMM Uncomment to build using Federated Naming Services. To activate diff --git a/cde/programs/dtcm/libDtCmP/timeops.c b/cde/programs/dtcm/libDtCmP/timeops.c index 1b3df8dc4..06393be58 100644 --- a/cde/programs/dtcm/libDtCmP/timeops.c +++ b/cde/programs/dtcm/libDtCmP/timeops.c @@ -1014,7 +1014,7 @@ init_time() if (getenv("TZ") == NULL){ char *tzptr; tzptr = malloc(strlen(tzname[0]) + strlen(tzname[1]) + 10); - sprintf (tzptr,"TZ=%s%d%s", tzname[0], timezone/3600, tzname[1]); + sprintf (tzptr,"TZ=%s%ld%s", tzname[0], timezone/3600, tzname[1]); putenv(tzptr); tzset(); }