298cd8eaa2
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
18 lines
369 B
Diff
18 lines
369 B
Diff
Get HZ value from system rather than requiring via CPPFLAGS
|
|
|
|
Patch by Robin Getz <rgetz@blackfin.uclinux.org>
|
|
|
|
--- a/dhry.h
|
|
+++ b/dhry.h
|
|
@@ -359,6 +359,10 @@
|
|
/* for "times" */
|
|
#endif
|
|
|
|
+#ifndef HZ
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
+
|
|
#define Mic_secs_Per_Second 1000000.0
|
|
/* Berkeley UNIX C returns process times in seconds/HZ */
|
|
|