xref: /OK3568_Linux_fs/buildroot/package/dhrystone/0002-HZ.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Get HZ value from system rather than requiring via CPPFLAGS
2
3Patch 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
18