diff options
author | H. Peter Anvin <hpa@zytor.com> | 2006-03-12 13:24:07 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-03-12 13:24:07 -0800 |
commit | dcc8a3b4310ee968d7890cff9a51a98ccfb5a311 (patch) | |
tree | 05c21c6fcf04901e8327444de6dd0c936d667106 /com32/libutil/include | |
parent | f1d29748a432327bc891cf9c87144070318d479e (diff) | |
download | syslinux-dcc8a3b4310ee968d7890cff9a51a98ccfb5a311.tar.gz syslinux-dcc8a3b4310ee968d7890cff9a51a98ccfb5a311.tar.xz syslinux-dcc8a3b4310ee968d7890cff9a51a98ccfb5a311.zip |
Define CLK_TCK globally
Diffstat (limited to 'com32/libutil/include')
-rw-r--r-- | com32/libutil/include/getkey.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/com32/libutil/include/getkey.h b/com32/libutil/include/getkey.h index d41d8c05..97a4ed84 100644 --- a/com32/libutil/include/getkey.h +++ b/com32/libutil/include/getkey.h @@ -36,8 +36,13 @@ #define LIBUTIL_GETKEY_H #include <stdio.h> +#include <unistd.h> #include <sys/times.h> +#ifndef CLK_TCK +# define CLK_TCK sysconf(_SC_CLK_TCK) +#endif + #define KEY_NONE (-1) #define KEY_CTRL(x) ((x) & 0x001f) |