diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/common.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h index 2b65bafd..47252aa4 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
@@ -44,6 +44,19 @@ | |||
44 | #include <stdio.h> /* obligatory includes */ | 44 | #include <stdio.h> /* obligatory includes */ |
45 | #include <stdlib.h> | 45 | #include <stdlib.h> |
46 | #include <errno.h> | 46 | #include <errno.h> |
47 | |||
48 | /* This block provides uintmax_t - should be reported to coreutils that this should be added to fsuage.h */ | ||
49 | #if HAVE_INTTYPES_H | ||
50 | # include <inttypes.h> | ||
51 | #endif | ||
52 | #if HAVE_STDINT_H | ||
53 | # include <stdint.h> | ||
54 | #endif | ||
55 | #include <unistd.h> | ||
56 | #ifndef UINTMAX_MAX | ||
57 | # define UINTMAX_MAX ((uintmax_t) -1) | ||
58 | #endif | ||
59 | |||
47 | #include <limits.h> /* This is assumed true, because coreutils assume it too */ | 60 | #include <limits.h> /* This is assumed true, because coreutils assume it too */ |
48 | 61 | ||
49 | #ifdef HAVE_MATH_H | 62 | #ifdef HAVE_MATH_H |