diff options
Diffstat (limited to 'databases/cstore/patches/patch-ak')
-rw-r--r-- | databases/cstore/patches/patch-ak | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/cstore/patches/patch-ak b/databases/cstore/patches/patch-ak new file mode 100644 index 00000000000..21dd1bc0314 --- /dev/null +++ b/databases/cstore/patches/patch-ak @@ -0,0 +1,16 @@ +$NetBSD: patch-ak,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $ + +--- src/Util/StopWatch.cpp 2007/11/07 21:13:19 1.1 ++++ src/Util/StopWatch.cpp 2007/11/07 21:19:10 +@@ -52,6 +52,11 @@ + r1 = times(&t); + } + ++// XXX would be better to get this value from sysctl ++#ifndef HZ ++#define HZ 100 ++#endif ++ + double StopWatch::stop() { + //clock_t diff = clock()-watch; + r2 = times(&u); |