author | Florian Forster <octo@huhu.verplant.org> | |
Fri, 31 Oct 2008 14:44:53 +0000 (15:44 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Fri, 31 Oct 2008 14:44:53 +0000 (15:44 +0100) | ||
commit | 9b0038d949ad063eab51b21c11d46b7df409e1cb | |
tree | e09b47335e159985417c9ce2ed2717b1881a07ba | tree | snapshot |
parent | 4639bd0e1865a24158a3f7b46ea9b6d95cbf3f4e | commit | diff |
apcups plugin: Include "collectd.h" *before" <stdlib.h>.
If not defined, <stdlib.h> sets/defines _FILE_OFFSET_BITS. Since (in 32bit
mode) "collectd.h" defines that, too, you'll run into compilation problems.
If not defined, <stdlib.h> sets/defines _FILE_OFFSET_BITS. Since (in 32bit
mode) "collectd.h" defines that, too, you'll run into compilation problems.
src/apcups.c | diff | blob | history |