It's rather a simple matter of providing a utimes() support via
utime().
utime() tends to be a bit more portable. If you write up a
bsd-utimes.[ch] I'll be happy to include it.
On Sat, 30 Dec 2000, Tim Rice wrote:
>
> ChangeLog says
> - markus at cvs.openbsd.org 2000/09/21 05:11:42
> scp.c
> utime() to utimes(); mouring at pconline.com
>
> SCO's Open Server 3 does not have utimes.
> ...
> gcc -o scp scp.o -L. -L/usr/local/lib -L/usr/local/ssl/lib
-L/usr/local/ssl -ls
> sh -lopenbsd-compat -lz -lsocket -lgen -lsocket -los -lprot -lx -ltinfo
-lm -lc
> rypto
> undefined first referenced
> symbol in file
> utimes scp.o
> ld fatal: Symbol referencing errors. No output written to scp
> gmake: *** [scp] Error 1
> ...
>
>