From df3662bf3ac0d071b6f0b2d4e5bd45942667e75e Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 7 Dec 2006 16:07:42 +0000 Subject: 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 --- plugins/check_disk.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/check_disk.c') 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 +#endif #if HAVE_INTTYPES_H # include #endif -- cgit v1.2.3