From: Sebastian Harl Date: Fri, 22 Dec 2006 00:27:45 +0000 (+0000) Subject: myplugin.c: Include system headers before collectd headers. X-Git-Tag: collectd-3.10.4-1~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b4af8b9492e4c55fe2f522192e3dc10c2be8864b;p=pkg-collectd.git myplugin.c: Include system headers before collectd headers. The collectd headers can hardly been made self-containing in the upstream sources as we're using autoconf and a couple of #ifdef's to include the correct headers. To work around this all required headers are included before the collectd headers. --- diff --git a/debian/examples/myplugin.c b/debian/examples/myplugin.c index 1bd8e42..ebe661a 100644 --- a/debian/examples/myplugin.c +++ b/debian/examples/myplugin.c @@ -11,12 +11,12 @@ * option) any later version. */ -#include /* rrd_update_file */ -#include /* plugin_* */ - #include #include +#include /* rrd_update_file */ +#include /* plugin_* */ + /* Optional config file support */ /* #include */