aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-07-19 22:37:36 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-07-19 22:37:36 +0000
commit7a8b72672fa33c3136c4e3eee05bbc121f45d2ee (patch)
tree575068dcc18a61366f7aaadc54a0f655c675db2e
parent426ef84181c487fe54876183092e87d6d2a2f4e3 (diff)
downloadmonitoring-plugins-7a8b72672fa33c3136c4e3eee05bbc121f45d2ee.tar.gz
Fix for CHAR_MAX on Solaris 9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1455 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h
index 31cc33f1..2b65bafd 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -44,6 +44,7 @@
#include <stdio.h> /* obligatory includes */
#include <stdlib.h>
#include <errno.h>
+#include <limits.h> /* This is assumed true, because coreutils assume it too */
#ifdef HAVE_MATH_H
#include <math.h>