aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index a7dd5cce..347c4c77 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -64,6 +64,9 @@ const char *options = "\
#include <stdarg.h>
#include "../lib/fsusage.h"
#include "../lib/mountlist.h"
+#if HAVE_LIMITS_H
+# include <limits.h>
+#endif
/* If nonzero, show inode information. */
static int inode_format;