From 9b0038d949ad063eab51b21c11d46b7df409e1cb Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 31 Oct 2008 15:44:53 +0100 Subject: [PATCH] apcups plugin: Include "collectd.h" *before" . If not defined, sets/defines _FILE_OFFSET_BITS. Since (in 32bit mode) "collectd.h" defines that, too, you'll run into compilation problems. --- src/apcups.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/apcups.c b/src/apcups.c index c948f5a1..462006a6 100644 --- a/src/apcups.c +++ b/src/apcups.c @@ -24,13 +24,6 @@ * Anthony Gialluca **/ -/* - * FIXME: Don't know why but without this here atof() was not returning - * correct values for me. This is behavior that I don't understand and - * should be examined in closer detail. - */ -#include - #include "collectd.h" #include "common.h" /* rrd_update_file */ #include "plugin.h" /* plugin_register, plugin_submit */ -- 2.30.2