diff options
Diffstat (limited to 'tools/perf/util/util.h')
-rw-r--r-- | tools/perf/util/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index a6b83f8ebef8..0d85209db8f1 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h | |||
@@ -198,6 +198,10 @@ static inline int has_extension(const char *filename, const char *ext) | |||
198 | #undef tolower | 198 | #undef tolower |
199 | #undef toupper | 199 | #undef toupper |
200 | 200 | ||
201 | #ifndef NSEC_PER_MSEC | ||
202 | #define NSEC_PER_MSEC 1000000L | ||
203 | #endif | ||
204 | |||
201 | extern unsigned char sane_ctype[256]; | 205 | extern unsigned char sane_ctype[256]; |
202 | #define GIT_SPACE 0x01 | 206 | #define GIT_SPACE 0x01 |
203 | #define GIT_DIGIT 0x02 | 207 | #define GIT_DIGIT 0x02 |