diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-12-07 16:07:42 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-12-07 16:07:42 +0000 |
commit | df3662bf3ac0d071b6f0b2d4e5bd45942667e75e (patch) | |
tree | f168820b481cad2b9a37325efb7382f26b9e85a7 /plugins/check_disk.c | |
parent | 26725ccd159105e38e5ab4ddc9ef848a5253e6d2 (diff) | |
download | monitoring-plugins-df3662bf3ac0d071b6f0b2d4e5bd45942667e75e.tar.gz |
Fix coredump on 64bit Solaris. Also adds more error conditions and moves
swap specific includes out of common.h (Duncan Ferguson - 1588031)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1546 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r-- | plugins/check_disk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 8f980a49..51e8e850 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c @@ -39,6 +39,9 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif #if HAVE_INTTYPES_H # include <inttypes.h> #endif |