[Nagiosplug-checkins] nagiosplug/plugins common.h,1.23,1.24
Ton Voon
tonvoon at users.sourceforge.net
Sat Jul 29 03:43:36 CEST 2006
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv23996/plugins
Modified Files:
common.h
Log Message:
Fix two Solaris compile problems
Index: common.h
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/common.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- common.h 19 Jul 2006 22:56:48 -0000 1.23
+++ common.h 29 Jul 2006 01:43:34 -0000 1.24
@@ -114,6 +114,11 @@
#include <locale.h>
#endif
+/* Fixes "Cannot use swapctl in the large files compilation environment" error on Solaris */
+#ifdef _FILE_OFFSET_BITS
+#undef _FILE_OFFSET_BITS
+#endif
+
#ifdef HAVE_DECL_SWAPCTL
# ifdef HAVE_SYS_SWAP_H
# include <sys/swap.h>
More information about the Commits
mailing list