Code

Fix for CHAR_MAX on Solaris 9
authorTon Voon <tonvoon@users.sourceforge.net>
Wed, 19 Jul 2006 22:37:36 +0000 (22:37 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Wed, 19 Jul 2006 22:37:36 +0000 (22:37 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1455 f882894a-f735-0410-b71e-b25c423dba1c

plugins/common.h

index 31cc33f1fa1b2aa1c7ac961604032a8abe928f31..2b65bafd5be509f03d73c1cbe15e5ebd87672244 100644 (file)
@@ -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>