projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
daemon: Check if plugin actually loaded before reporting configuration issues
[collectd.git]
/
src
/
battery.c
diff --git
a/src/battery.c
b/src/battery.c
index
a74e7b6
..
20ec261
100644
(file)
--- a/
src/battery.c
+++ b/
src/battery.c
@@
-25,8
+25,8
@@
#include "collectd.h"
#include "collectd.h"
-#include "common.h"
#include "plugin.h"
#include "plugin.h"
+#include "utils/common/common.h"
#if HAVE_MACH_MACH_TYPES_H
#include <mach/mach_types.h>
#if HAVE_MACH_MACH_TYPES_H
#include <mach/mach_types.h>
@@
-336,7
+336,7
@@
static int battery_read(void) /* {{{ */
return 0;
} /* }}} int battery_read */
return 0;
} /* }}} int battery_read */
-/* #endif HAVE_IOKIT_IOKITLIB_H || HAVE_IOKIT_PS_IOPOWERSOURCES_H */
+
/* #endif HAVE_IOKIT_IOKITLIB_H || HAVE_IOKIT_PS_IOPOWERSOURCES_H */
#elif KERNEL_LINUX
/* Reads a file which contains only a number (and optionally a trailing
#elif KERNEL_LINUX
/* Reads a file which contains only a number (and optionally a trailing