Fix dtcm build on OpenBSD-current.
authorPascal Stumpf <Pascal.Stumpf@cubes.de>
Fri, 21 Feb 2014 17:02:36 +0000 (18:02 +0100)
committerJon Trulson <jon@radscan.com>
Sun, 23 Feb 2014 02:09:37 +0000 (19:09 -0700)
commita4f9413950554094d5fe301bef6ee3d57a479dfa
treef44358f9cf9b195e2e0da729e5705083e67eb432
parent23e217b3291ffa5776aad00919bc2b30c6625d56
Fix dtcm build on OpenBSD-current.

libcompat and header files will be gone in the upcoming 5.5 release, so we
cannot use the ftime(3) interface there.  Fall back to the SVR4 version of the
code, but use the tm_gmtoff field of struct tm to get the timezone.
Unfortunately, that is not portable (because I really really would like to
remove that old and crummy struct timeb from the public API).
cde/programs/dtcm/dtcm/Imakefile
cde/programs/dtcm/libDtCmP/getdate.h
cde/programs/dtcm/libDtCmP/getdate.y