netbsd, openbsd: enable futimes() wrapper

OpenBSD and NetBSD have working futimes() implementations.  This commit
makes uv_fs_futime() work on those platforms.
This commit is contained in:
Ben Noordhuis 2013-11-16 22:57:19 +01:00
parent 0c05532e13
commit f38869898d

View File

@ -170,6 +170,8 @@ skip:
#elif defined(__APPLE__) \
|| defined(__DragonFly__) \
|| defined(__FreeBSD__) \
|| defined(__NetBSD__) \
|| defined(__OpenBSD__) \
|| defined(__sun)
struct timeval tv[2];
tv[0].tv_sec = req->atime;