mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
17
package/dhrystone/0002-HZ.patch
Normal file
17
package/dhrystone/0002-HZ.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
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 */
|
||||
|
||||
Reference in New Issue
Block a user