$NetBSD: patch-dk,v 1.4 2009/10/11 16:04:13 asau Exp $ --- vl.c.orig 2009-09-23 23:01:32.000000000 +0400 +++ vl.c 2009-09-30 14:10:21.000000000 +0400 @@ -567,7 +567,7 @@ { use_rt_clock = 0; #if defined(__linux__) || (defined(__FreeBSD__) && __FreeBSD_version >= 500000) \ - || defined(__DragonFly__) + || defined(__DragonFly__) || defined(__NetBSD__) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { @@ -580,7 +580,7 @@ static int64_t get_clock(void) { #if defined(__linux__) || (defined(__FreeBSD__) && __FreeBSD_version >= 500000) \ - || defined(__DragonFly__) + || defined(__DragonFly__) || defined(__NetBSD__) if (use_rt_clock) { struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);