mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-14 07:43:32 +08:00
9ffc2e809c
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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 */
|
|
|