e3b8a0e05d0ebf85d71b314d02292b3ed9ee5f31
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / dhrystone / 0002-HZ.patch
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