0002-HZ.patch 369 B

1234567891011121314151617
  1. Get HZ value from system rather than requiring via CPPFLAGS
  2. Patch by Robin Getz <rgetz@blackfin.uclinux.org>
  3. --- a/dhry.h
  4. +++ b/dhry.h
  5. @@ -359,6 +359,10 @@
  6. /* for "times" */
  7. #endif
  8. +#ifndef HZ
  9. +#include <sys/param.h>
  10. +#endif
  11. +
  12. #define Mic_secs_Per_Second 1000000.0
  13. /* Berkeley UNIX C returns process times in seconds/HZ */