repo.or.cz
/
buildroot-gz.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
package/nodejs: security bump for 0.10.x to version 0.10.42
[buildroot-gz.git]
/
package
/
dhrystone
/
0002-HZ.patch
blob
e3b8a0e05d0ebf85d71b314d02292b3ed9ee5f31
1
Get HZ value from system rather than requiring via CPPFLAGS
2
3
Patch by Robin Getz <rgetz@blackfin.uclinux.org>
4
5
--- a/dhry.h
6
+++ b/dhry.h
7
@@ -359,6 +359,10 @@
8
/* for "times" */
9
#endif
10
11
+#ifndef HZ
12
+#include <sys/param.h>
13
+#endif
14
+
15
#define Mic_secs_Per_Second 1000000.0
16
/* Berkeley UNIX C returns process times in seconds/HZ */
17