diff options
author | Warner Losh <imp@FreeBSD.org> | 1996-12-22 17:01:12 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 1996-12-22 17:01:12 +0000 |
commit | fb1eb5675eea24c5838e4cc123d9f298800dfd6a (patch) | |
tree | 401a7cd9e1cfc863445a1627818fbd8b24d72d12 /archivers/arc | |
parent | aa282eb940c7a496c440f71de7db05e9d1ade2de (diff) | |
download | ports-fb1eb5675eea24c5838e4cc123d9f298800dfd6a.tar.gz ports-fb1eb5675eea24c5838e4cc123d9f298800dfd6a.zip |
Notes
Diffstat (limited to 'archivers/arc')
-rw-r--r-- | archivers/arc/files/patch-aa | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archivers/arc/files/patch-aa b/archivers/arc/files/patch-aa index 68f082482c26..5d57698671a4 100644 --- a/archivers/arc/files/patch-aa +++ b/archivers/arc/files/patch-aa @@ -53,7 +53,7 @@ struct tm tm; struct timeval tvp[2]; int utimes(); -+ #ifndef __FreeBSD__ ++ #if !defined(__FreeSBD__) && !defined(__OpenBSD__) long tmclock(); + #endif tm.tm_sec = (time & 31) * 2; @@ -62,7 +62,7 @@ tm.tm_mday = date & 31; tm.tm_mon = ((date >> 5) & 15) - 1; tm.tm_year = (date >> 9) + 80; -+ #ifndef __FreeBSD__ ++ #if !defined(__FreeBSD__) && !defined(__OpenBSD__) tvp[0].tv_sec = tmclock(&tm); + #else + tvp[0].tv_sec = timelocal(&tm); |