diff options
Diffstat (limited to 'package/dhrystone/dhrystone-2-HZ.patch')
-rw-r--r-- | package/dhrystone/dhrystone-2-HZ.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/dhrystone/dhrystone-2-HZ.patch b/package/dhrystone/dhrystone-2-HZ.patch new file mode 100644 index 000000000..e3b8a0e05 --- /dev/null +++ b/package/dhrystone/dhrystone-2-HZ.patch @@ -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 */ + |